Borderou de evaluare (job #2477217)

Utilizator redstonegamer22Andrei Ion redstonegamer22 Data 19 octombrie 2019 20:17:29
Problema Texttrim Status done
Runda Arhiva Monthly Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:30:35: warning: NULL used in arithmetic [-Wpointer-arith] for(i = 0; sum < w && s[i] != NULL; i++) { ^~~~ main.cpp:34:16: warning: NULL used in arithmetic [-Wpointer-arith] if(s[i] == NULL) { ^~~~ main.cpp:39:14: warning: statement has no effect [-Wunused-value] for(i; i >= 0 && sml < 3; i--) sml += l[mp(s[i])]; ^ main.cpp:40:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int j = 0; j < i; j++) cout << s[j]; cout << "..."; ^~~ main.cpp:40:50: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for(int j = 0; j < i; j++) cout << s[j]; cout << "..."; ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK100
22ms131kbOK10
32ms131kbOK10
42ms131kbOK10
52ms131kbOK10
63ms262kbIncorect0
73ms262kbIncorect0
83ms262kbIncorect0
93ms262kbIncorect0
103ms262kbIncorect0
Punctaj total0

Ceva nu functioneaza?