Borderou de evaluare (job #2311672)

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

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:31:17: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[6]' [-Wformat=] scanf("%s", &x); ^ main.cpp:35:17: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[6]' [-Wformat=] scanf("%s", &x); ^ main.cpp:27:6: warning: unused variable 'start' [-Wunused-variable] int start = 1; ^~~~~ main.cpp:20: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:21: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:25: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:31:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &x); ^ main.cpp:35: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
34ms393kbOK!10
422ms917kbOK!10
582ms1867kbOK!10
637ms1048kbOK!10
7241ms12824kbOK!10
8303ms13348kbTime limit exceeded0
972ms1699kbOK!10
1051ms1179kbOK!10
Punctaj total90

Ceva nu functioneaza?