Pagini recente » Borderou de evaluare (job #1272840) | Borderou de evaluare (job #1224910) | Borderou de evaluare (job #109040) | Borderou de evaluare (job #1371094) | Borderou de evaluare (job #1502989)
Borderou de evaluare (job #1502989)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:12: warning: statement has no effect [-Wunused-value]
for(pas;pas>0;pas=pas>>1)
^
user.cpp:23: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:24: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:25:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);
^
user.cpp:26:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=0; i<n; i++) scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 260kb | Incorect | 0 |
4 | 0ms | 260kb | Incorect | 0 |
5 | 0ms | 284kb | Incorect | 0 |
6 | 4ms | 296kb | Incorect | 0 |
7 | 4ms | 312kb | Incorect | 0 |
8 | 4ms | 320kb | Incorect | 0 |
9 | 4ms | 320kb | Incorect | 0 |
10 | 4ms | 320kb | Incorect | 0 |
Punctaj total | 20 |