Problema | Anagrame1 | Operații I/O |
anagrame1.in /anagrame1.out
|
---|---|---|---|
Limita timp | 0.5 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #45627894 | Utilizator | |
Fișier | anagrame1.cpp | Dimensiune | 748 B |
Data încărcării | 17 Octombrie 2023, 18:14 | Scor / rezultat | 0 puncte |
anagrame1.cpp: In function 'int main()': anagrame1.cpp:42:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<=strlen(s)-2;i++) ^ anagrame1.cpp:43:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=i;j<=strlen(s)-1;j++) ^ anagrame1.cpp:44:15: warning: array subscript has type 'char' [-Wchar-subscripts] if(s[i]>s[j]) ^ anagrame1.cpp:44:20: warning: array subscript has type 'char' [-Wchar-subscripts] if(s[i]>s[j]) ^ anagrame1.cpp:45:17: warning: array subscript has type 'char' [-Wchar-subscripts] swap(s[i],s[j]); ^ anagrame1.cpp:45:22: warning: array subscript has type 'char' [-Wchar-subscripts] swap(s[i],s[j]); ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | Depășit | Limita de timp depășită | 20 | 0 | Exemplu | |
2 | Depășit | Limita de timp depășită | 40 | 0 | ||
3 | Depășit | Limita de timp depășită | 40 | 0 | ||
Punctaj total | 0 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Anagrame1 face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:
Suma punctajelor acordate pe testele utilizate pentru verificare este 100. Astfel, soluția ta poate obține cel mult 100 de puncte, caz în care se poate considera corectă.