Borderou de evaluare (job #2143939)

Utilizator SolcanMihaiSolcan Mihai Andrei SolcanMihai Data 26 februarie 2018 13:31:23
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:111: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:106: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:108:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:111: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:122: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:123: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
10ms892kbOK5
20ms892kbOK5
30ms932kbOK5
40ms912kbOK5
50ms908kbOK5
60ms928kbOK5
7184msDepăşitMemory limit exceeded.0
8188msDepăşitMemory limit exceeded.0
9152ms52180kbOK5
10184msDepăşitMemory limit exceeded.0
11184msDepăşitMemory limit exceeded.0
12192msDepăşitMemory limit exceeded.0
13188msDepăşitMemory limit exceeded.0
14192msDepăşitMemory limit exceeded.0
15184msDepăşitMemory limit exceeded.0
16180msDepăşitMemory limit exceeded.0
17188msDepăşitMemory limit exceeded.0
18192msDepăşitMemory limit exceeded.0
19188msDepăşitMemory limit exceeded.0
20188msDepăşitMemory limit exceeded.0
Punctaj total35

Ceva nu functioneaza?