Pagini recente » Borderou de evaluare (job #2294309) | Borderou de evaluare (job #1992156) | Borderou de evaluare (job #1991961) | Borderou de evaluare (job #2418599) | Borderou de evaluare (job #1464884)
Borderou de evaluare (job #1464884)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if( a[j] < a[i] )
^
user.cpp:5:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsiruri.in","r",stdin);
^
user.cpp:6:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsiruri.out","w",stdout);
^
user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:11: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 | 0ms | 452kb | OK | 10 |
| 2 | 0ms | 448kb | OK | 10 |
| 3 | 0ms | 452kb | OK | 10 |
| 4 | 0ms | 456kb | OK | 10 |
| 5 | 0ms | 448kb | OK | 10 |
| 6 | 0ms | 452kb | OK | 10 |
| 7 | 0ms | 452kb | OK | 10 |
| 8 | 0ms | 460kb | OK | 10 |
| 9 | 4ms | 456kb | OK | 10 |
| 10 | 12ms | 460kb | OK | 10 |
| Punctaj total | 100 |