Pagini recente » Borderou de evaluare (job #2308581) | Borderou de evaluare (job #2296102) | Borderou de evaluare (job #1485441) | Borderou de evaluare (job #2909084) | Borderou de evaluare (job #1411254)
Borderou de evaluare (job #1411254)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:5:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avarcolaci.in","r",stdin);
^
user.cpp:6:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avarcolaci.out","w",stdout);
^
user.cpp:7:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:9:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &a[1]); cand=a[1]; ap=1;
^
user.cpp:11:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]); if (cand==a[i]) ap++; else {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 244kb | OK | 10 |
2 | 0ms | 248kb | OK | 10 |
3 | 0ms | 244kb | OK | 10 |
4 | 0ms | 244kb | OK | 10 |
5 | 264ms | 620kb | OK | 10 |
6 | 348ms | 592kb | OK | 10 |
7 | 244ms | 596kb | OK | 10 |
8 | 344ms | 628kb | OK | 10 |
9 | 900ms | Depăşit | Memory limit exceeded. | 0 |
10 | 1376ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 80 |