Pagini recente » Borderou de evaluare (job #1464884) | Borderou de evaluare (job #2001487) | Borderou de evaluare (job #1979122) | Borderou de evaluare (job #1433867) | Borderou de evaluare (job #1464874)
Borderou de evaluare (job #1464874)
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 | 444kb | OK | 10 |
| 2 | 0ms | 448kb | OK | 10 |
| 3 | 0ms | 444kb | OK | 10 |
| 4 | 0ms | 440kb | OK | 10 |
| 5 | 0ms | 444kb | OK | 10 |
| 6 | 0ms | 444kb | OK | 10 |
| 7 | 0ms | 444kb | OK | 10 |
| 8 | 0ms | 448kb | OK | 10 |
| 9 | 0ms | 444kb | Incorect | 0 |
| 10 | 0ms | 452kb | Incorect | 0 |
| Punctaj total | 80 |