Pagini recente » Borderou de evaluare (job #773628) | Borderou de evaluare (job #146254) | Borderou de evaluare (job #2904532) | Borderou de evaluare (job #490561) | Borderou de evaluare (job #1708135)
Borderou de evaluare (job #1708135)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.in","r",stdin);
^
user.cpp:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.out","w",stdout);
^
user.cpp:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:15:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:35:19: warning: ‘sum’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(sum+v[i]>c)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Incorect | 0 |
2 | 0ms | 260kb | Incorect | 0 |
3 | 0ms | 260kb | Incorect | 0 |
4 | 0ms | 272kb | Incorect | 0 |
5 | 0ms | 296kb | Incorect | 0 |
6 | 0ms | 308kb | Incorect | 0 |
7 | 0ms | 320kb | Incorect | 0 |
8 | 0ms | 320kb | Incorect | 0 |
9 | 4ms | 320kb | Incorect | 0 |
10 | 4ms | 324kb | Incorect | 0 |
Punctaj total | 0 |