Borderou de evaluare (job #2367219)

Utilizator andru47Stefanescu Andru andru47 Data 5 martie 2019 09:33:57
Problema MarceLand Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'void lee(int, int)': main.cpp:21:10: warning: unused variable 'okk' [-Wunused-variable] bool okk = false; ^~~ main.cpp: In function 'int main()': main.cpp:113:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int i = 1; i<=n; ++i) ^~~ main.cpp:121:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' printf("%d\n", sol); ^~~~~~ main.cpp:68:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("marceland.in", "r", stdin); ^ main.cpp:69:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("marceland.out", "w", stdout); ^ main.cpp:71:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for (scanf("%d", &T); T; --T) ^ main.cpp:73:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ main.cpp:82:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ main.cpp:91:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK!10
22ms131kbRaspuns gresit!0
32ms131kbOK!10
44ms131kbOK!10
57ms131kbRaspuns gresit!0
64ms131kbOK!10
748ms262kbOK!10
837ms262kbOK!10
9101ms393kbTime limit exceeded0
10101ms262kbTime limit exceeded0
Punctaj total60

Ceva nu functioneaza?