Borderou de evaluare (job #2143927)

Utilizator SolcanMihaiSolcan Mihai Andrei SolcanMihai Data 26 februarie 2018 13:25:12
Problema Subsecvente2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 35

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:99:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[50001]’ [-Wformat=] scanf("%s\n", &tmp); ^ user.cpp:109:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[50001]’ [-Wformat=] scanf("%s\n", &tmp); ^ user.cpp:92:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:99:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", &tmp); ^ user.cpp:104:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("subsecvente2.in", "r", stdin); ^ user.cpp:106:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:109:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", &tmp); ^ user.cpp: In function ‘int main()’: user.cpp:120:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("subsecvente2.in", "r", stdin); ^ user.cpp:121:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("subsecvente2.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms896kbOK5
20ms936kbOK5
30ms892kbOK5
40ms904kbOK5
50ms908kbOK5
60ms928kbOK5
7188msDepăşitMemory limit exceeded.0
8188msDepăşitMemory limit exceeded.0
9180ms52204kbOK5
10196msDepăşitMemory limit exceeded.0
11184msDepăşitMemory limit exceeded.0
12196msDepăşitMemory limit exceeded.0
13180msDepăşitMemory limit exceeded.0
14192msDepăşitMemory limit exceeded.0
15188msDepăşitMemory limit exceeded.0
16188msDepăşitMemory limit exceeded.0
17184msDepăşitMemory limit exceeded.0
18188msDepăşitMemory limit exceeded.0
19192msDepăşitMemory limit exceeded.0
20184msDepăşitMemory limit exceeded.0
Punctaj total35

Ceva nu functioneaza?