Pagini recente » Cod sursa (job #1967324) | Borderou de evaluare (job #2037462) | Borderou de evaluare (job #1156711) | Borderou de evaluare (job #1813913) | Borderou de evaluare (job #1310327)
Borderou de evaluare (job #1310327)
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 | 468kb | OK | 10 |
3 | 668ms | 552kb | OK | 10 |
4 | 636ms | 464kb | OK | 10 |
5 | 96ms | 936kb | OK | 10 |
6 | 60ms | 944kb | OK | 10 |
7 | 756ms | 932kb | OK | 10 |
8 | 760ms | 928kb | OK | 10 |
9 | 752ms | 940kb | OK | 10 |
10 | 744ms | 940kb | OK | 10 |
Punctaj total | 100 |