Pagini recente » Cod sursa (job #437864) | Borderou de evaluare (job #2544573)
Borderou de evaluare (job #2544573)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:88:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rafaela.in", "r", stdin);
^
main.cpp:89:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rafaela.out", "w", stdout);
^
main.cpp:91:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &q);
^
main.cpp:94:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
main.cpp:104:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
main.cpp:109:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
main.cpp:112:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c);
^
main.cpp:114:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &x);
^
main.cpp:119:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 4980kb | OK | 10 |
2 | 13ms | 4980kb | OK | 10 |
3 | 16ms | 4980kb | OK | 10 |
4 | 388ms | 12189kb | OK | 10 |
5 | 485ms | 14286kb | OK | 10 |
6 | 698ms | 19136kb | OK | 10 |
7 | 742ms | 19922kb | OK | 10 |
8 | 1001ms | 22528kb | Time limit exceeded | 0 |
9 | 1003ms | 23023kb | Time limit exceeded | 0 |
10 | 1001ms | 23711kb | Time limit exceeded | 0 |
Punctaj total | 70 |