Pagini recente » Borderou de evaluare (job #348833) | Borderou de evaluare (job #1512102) | Borderou de evaluare (job #1076306) | Borderou de evaluare (job #1063551) | Borderou de evaluare (job #1687318)
Borderou de evaluare (job #1687318)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:17: warning: unused variable ‘ok’ [-Wunused-variable]
int n,i,s=0,ok=0;
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("examen.in","r",stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("examen.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Incorect | 0 |
2 | 56ms | 1040kb | Incorect | 0 |
3 | 56ms | 1040kb | Incorect | 0 |
4 | 0ms | 264kb | Incorect | 0 |
5 | 24ms | 648kb | OK | 10 |
6 | 28ms | 652kb | Incorect | 0 |
7 | 0ms | 256kb | Incorect | 0 |
8 | 0ms | 256kb | Incorect | 0 |
9 | 0ms | 260kb | Incorect | 0 |
10 | 16ms | 520kb | Incorect | 0 |
Punctaj total | 10 |