Pagini recente » Borderou de evaluare (job #1655533) | Borderou de evaluare (job #3213662) | Borderou de evaluare (job #2381951) | Borderou de evaluare (job #3172948) | Borderou de evaluare (job #2683441)
Borderou de evaluare (job #2683441)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:12:13: warning: unused variable 'j' [-Wunused-variable]
int i=0,j,poz1,poz2,sum=0;
^
main.cpp:13:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("3secv.in","r",stdin);
^
main.cpp:14:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("3secv.out","w",stdout);
^
main.cpp:15:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:18:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 3ms | 131kb | Incorect | 0 |
5 | 34ms | 524kb | Incorect | 0 |
6 | 33ms | 524kb | OK | 10 |
7 | 35ms | 524kb | OK | 10 |
8 | 294ms | 4194kb | Incorect | 0 |
9 | 314ms | 4063kb | OK | 10 |
10 | 294ms | 4194kb | OK | 10 |
Punctaj total | 70 |