Pagini recente » Borderou de evaluare (job #1484063) | Borderou de evaluare (job #2931355) | Borderou de evaluare (job #1966593) | Borderou de evaluare (job #1344191) | Borderou de evaluare (job #1453633)
Borderou de evaluare (job #1453633)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(v[i]>v[j])
^
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:8:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:10:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:33:28: warning: ‘nrap’ may be used uninitialized in this function [-Wmaybe-uninitialized]
nrap+=nr[i];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 0ms | 264kb | OK | 10 |
| 5 | 0ms | 264kb | OK | 10 |
| 6 | 0ms | 272kb | OK | 10 |
| 7 | 0ms | 276kb | OK | 10 |
| 8 | 0ms | 288kb | OK | 10 |
| 9 | 4ms | 276kb | OK | 10 |
| 10 | 0ms | 284kb | OK | 10 |
| Punctaj total | 100 |