Pagini recente » Borderou de evaluare (job #559548) | Borderou de evaluare (job #1213846) | Borderou de evaluare (job #1658579) | Borderou de evaluare (job #2444042) | Borderou de evaluare (job #1682795)
Borderou de evaluare (job #1682795)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9: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:10: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:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:18:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:47:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:38:49: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else if(v2[b]==0) {v2[b]=v[x+1]-v2[x];x=b;c++;}
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 284kb | OK | 10 |
✗ | 2 | 56ms | 1448kb | OK | 10 |
✓ | 3 | 52ms | 1452kb | OK | 10 |
✗ | 4 | 0ms | 280kb | OK | 10 |
✗ | 5 | 0ms | 260kb | OK | 10 |
✗ | 6 | 56ms | 1060kb | OK | 10 |
✓ | 7 | 0ms | 276kb | OK | 10 |
✗ | 8 | 0ms | 280kb | OK | 10 |
✗ | 9 | 0ms | 292kb | OK | 10 |
✗ | 10 | 32ms | 808kb | OK | 10 |
Punctaj total | 100 |