Borderou de evaluare (job #2330719)

Utilizator MoldovanAndrei1Moldovan Andrei MoldovanAndrei1 Data 28 ianuarie 2019 19:46:27
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:19:10: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] s[n]=NULL; ^~~~ main.cpp:153:21: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main.cpp:155:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' op.pop(); ^~ main.cpp:171:21: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main.cpp:173:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' op.pop(); ^~ main.cpp:15:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("bool.in","r",stdin); ^ main.cpp:16:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("bool.out","w",stdout); ^ main.cpp:17:26: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(s+1,1005,stdin); ^ main.cpp:25:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&k); ^ main.cpp:26:26: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(r+1,1005,stdin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
32ms131kbKilled by Signal 110
42ms131kbKilled by Signal 110
52ms131kbKilled by Signal 110
62ms131kbKilled by Signal 110
72ms131kbKilled by Signal 110
82ms131kbKilled by Signal 110
92ms131kbKilled by Signal 110
102ms131kbKilled by Signal 110
Punctaj total20

Ceva nu functioneaza?