Pagini recente » Cod sursa (job #14979) | Cod sursa (job #1360191) | Borderou de evaluare (job #2615021) | Cod sursa (job #488199) | Borderou de evaluare (job #1871721)
Borderou de evaluare (job #1871721)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numar2.in", "r", stdin);
^
user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numar2.out", "w", stdout);
^
user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:14:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= N; i++) scanf("%d", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 536kb | OK | 10 |
| 2 | 0ms | 532kb | OK | 10 |
| 3 | 4ms | 508kb | OK | 10 |
| 4 | Depăşit | 456kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 452kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 400kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 400kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 440kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 408kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 400kb | Time limit exceeded. | 0 |
| Punctaj total | 30 |