Borderou de evaluare (job #2265104)

Utilizator mihai50000Mihai-Cristian Popescu mihai50000 Data 20 octombrie 2018 16:31:26
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int NOT()': main.cpp:70:21: warning: array subscript has type 'char' [-Wchar-subscripts] return val[s[i - 1]]; ^ main.cpp: At global scope: main.cpp:75:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] main() ^ main.cpp: In function 'int main()': main.cpp:80:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < t.size(); i++) ~~^~~~~~~~~~ main.cpp:83:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(t[i] == 'O' && i + 1 < t.size() && t[i + 1] == 'R') ~~~~~~^~~~~~~~~~ main.cpp:89:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(t[i] == 'N' && i + 2 < t.size() && t[i + 1] == 'O' && t[i + 2] == 'T') ~~~~~~^~~~~~~~~~ main.cpp:95:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(t[i] == 'A' && i + 2 < t.size() && t[i + 1] == 'N' && t[i + 2] == 'D') ~~~~~~^~~~~~~~~~ main.cpp:112:8: warning: array subscript has type 'char' [-Wchar-subscripts] val[c] ^= 1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbIncorect0
34ms131kbOK10
45ms131kbOK10
53ms131kbIncorect0
65ms131kbIncorect0
75ms131kbOK10
85ms131kbIncorect0
95ms131kbIncorect0
105ms131kbIncorect0
Punctaj total40

Ceva nu functioneaza?