Borderou de evaluare (job #2367200)

Utilizator andru47Stefanescu Andru andru47 Data 5 martie 2019 09:25:26
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:19:10: warning: unused variable 'okk' [-Wunused-variable] bool okk = false; ^~~ main.cpp: In function 'int main()': main.cpp:108:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int i = 1; i<=n; ++i) ^~~ main.cpp:116:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' printf("%d\n", sol); ^~~~~~ main.cpp:66: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:67: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:69: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:71: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:77:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ main.cpp:86: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
45ms131kbOK!10
57ms131kbRaspuns gresit!0
65ms131kbOK!10
723ms262kbOK!10
816ms262kbRaspuns gresit!0
979ms393kbOK!10
10101ms262kbTime limit exceeded0
Punctaj total60

Ceva nu functioneaza?