Borderou de evaluare (job #2367213)

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

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:109:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int i = 1; i<=n; ++i) ^~~ main.cpp:117: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:78:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ main.cpp:87: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
815ms262kbOK!10
980ms393kbOK!10
10100ms262kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?