Borderou de evaluare (job #818450)

Utilizator avatar Teogaloiu Teo Galoiu Teogaloiu IP ascuns
Problemă Trigrame (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 5 apr. 2025 10:16:40 Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int decoder(char)': main.cpp:15:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 15 | if(x>='A' and x<='Z'); | ^~ main.cpp:16:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 16 | return x-'A' + 'z'-'a'+'9'-'0'+1; | ^~~~~~ main.cpp: In function 'int main()': main.cpp:31:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 31 | for(int i=2;i<s.size();i++) | ~^~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 2 ms 245 kb Raspuns gresit! 0
3 1 ms 245 kb Raspuns gresit! 0
4 1 ms 249 kb Raspuns gresit! 0
5 458 ms 503 kb Raspuns gresit! 0
6 1009 ms 1695 kb Time limit exceeded 0
7 1009 ms 1699 kb Time limit exceeded 0
8 1009 ms 1695 kb Time limit exceeded 0
9 1009 ms 1691 kb Time limit exceeded 0
10 1009 ms 1720 kb Time limit exceeded 0
Punctaj total 10