Pagini recente » Borderou de evaluare (job #1774056) | Borderou de evaluare (job #2359162) | Borderou de evaluare (job #741311) | Borderou de evaluare (job #1608807) | Borderou de evaluare (job #1461497)
Borderou de evaluare (job #1461497)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if( a[j] < a[i] )
^
user.cpp:6: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:7: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:12: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",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 10 |
2 | 0ms | 444kb | OK | 10 |
3 | 0ms | 440kb | OK | 10 |
4 | 0ms | 444kb | OK | 10 |
5 | 0ms | 444kb | OK | 10 |
6 | 0ms | 440kb | OK | 10 |
7 | 0ms | 440kb | OK | 10 |
8 | 0ms | 440kb | OK | 10 |
9 | 0ms | 444kb | Incorect | 0 |
10 | 0ms | 440kb | Incorect | 0 |
Punctaj total | 80 |