Borderou de evaluare (job #2311667)

Utilizator mihai50000Mihai-Cristian Popescu mihai50000 Data 3 ianuarie 2019 16:12:13
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: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
422ms786kbOK!10
581ms1703kbOK!10
638ms917kbOK!10
7237ms12017kbOK!10
8302ms12800kbTime limit exceeded0
989ms1572kbOK!10
1050ms1048kbOK!10
Punctaj total90

Ceva nu functioneaza?