Pagini recente » Borderou de evaluare (job #2202516) | Borderou de evaluare (job #2121966) | Borderou de evaluare (job #2944535) | Borderou de evaluare (job #2237792) | Borderou de evaluare (job #2367219)
Borderou de evaluare (job #2367219)
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 |
1 | 2ms | 131kb | OK! | 10 |
2 | 2ms | 131kb | Raspuns gresit! | 0 |
3 | 2ms | 131kb | OK! | 10 |
4 | 4ms | 131kb | OK! | 10 |
5 | 7ms | 131kb | Raspuns gresit! | 0 |
6 | 4ms | 131kb | OK! | 10 |
7 | 48ms | 262kb | OK! | 10 |
8 | 37ms | 262kb | OK! | 10 |
9 | 101ms | 393kb | Time limit exceeded | 0 |
10 | 101ms | 262kb | Time limit exceeded | 0 |
Punctaj total | 60 |