Pagini recente » Borderou de evaluare (job #3192512) | Borderou de evaluare (job #2610091) | Borderou de evaluare (job #2868566) | Borderou de evaluare (job #3042196) | Borderou de evaluare (job #1411248)
Borderou de evaluare (job #1411248)
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 | 248kb | OK | 10 |
2 | 0ms | 244kb | OK | 10 |
3 | 0ms | 244kb | OK | 10 |
4 | 0ms | 248kb | OK | 10 |
5 | 276ms | 620kb | OK | 10 |
6 | 384ms | 588kb | OK | 10 |
7 | 240ms | 596kb | OK | 10 |
8 | 364ms | 628kb | OK | 10 |
9 | 132ms | 632kb | Incorect | 0 |
10 | 68ms | 632kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 80 |