Borderou de evaluare (job #818448)

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:14:33 Scor 50

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:29:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 29 | 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 OK 10
3 1 ms 245 kb OK 10
4 1 ms 507 kb OK 10
5 9 ms 512 kb OK 10
6 19 ms 3006 kb Memory limit exceeded 0
7 19 ms 2482 kb Memory limit exceeded 0
8 19 ms 2748 kb Memory limit exceeded 0
9 19 ms 3006 kb Memory limit exceeded 0
10 19 ms 3006 kb Memory limit exceeded 0
Punctaj total 50