Pagini recente » Cod sursa (job #2501792) | Borderou de evaluare (job #1049069) | Cod sursa (job #2853309) | Cod sursa (job #3234210) | Borderou de evaluare (job #1296758)
Borderou de evaluare (job #1296758)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.in", "r", stdin);
^
user.cpp:27:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.out", "w", stdout);
^
user.cpp:29:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &q);
^
user.cpp:32:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:41:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK | 10 |
2 | 0ms | 472kb | OK | 10 |
3 | 664ms | 556kb | OK | 10 |
4 | 628ms | 468kb | OK | 10 |
5 | 96ms | 940kb | OK | 10 |
6 | 60ms | 940kb | OK | 10 |
7 | 752ms | 936kb | OK | 10 |
8 | 784ms | 928kb | OK | 10 |
9 | 748ms | 940kb | OK | 10 |
10 | 760ms | 944kb | OK | 10 |
Punctaj total | 100 |