Borderou de evaluare (job #2311665)

Utilizator mihai50000Mihai-Cristian Popescu mihai50000 Data 3 ianuarie 2019 16:11:13
Problema Tester Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:32:17: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[6]' [-Wformat=] scanf("%s", &x); ^ main.cpp:36:17: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[6]' [-Wformat=] scanf("%s", &x); ^ main.cpp:28:6: warning: unused variable 'start' [-Wunused-variable] int start = 1; ^~~~~ main.cpp:21:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("tester.in","r",stdin); ^ main.cpp:22:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("tester.out","w",stdout); ^ main.cpp:26:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:32:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &x); ^ main.cpp:36:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms262kbOK!10
23ms262kbOK!10
34ms262kbOK!10
415ms655kbKilled by Signal 110
545ms1179kbKilled by Signal 110
628ms655kbKilled by Signal 110
736ms6541kbKilled by Signal 110
892ms7065kbKilled by Signal 110
968ms1179kbKilled by Signal 110
1031ms786kbKilled by Signal 110
Punctaj total30

Ceva nu functioneaza?