Pagini recente » Profil MIhaiBalosu | Monitorul de evaluare | Atasamentele paginii Flooow | Borderou de evaluare (job #915548) | Borderou de evaluare (job #1503003)
Borderou de evaluare (job #1503003)
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 | 260kb | OK | 10 |
| 2 | 0ms | 252kb | OK | 10 |
| 3 | 0ms | 252kb | OK | 10 |
| 4 | 0ms | 260kb | OK | 10 |
| 5 | 4ms | 280kb | OK | 10 |
| 6 | 4ms | 292kb | Incorect | 0 |
| 7 | 4ms | 312kb | OK | 10 |
| 8 | 4ms | 320kb | Incorect | 0 |
| 9 | 4ms | 320kb | Incorect | 0 |
| 10 | 4ms | 316kb | Incorect | 0 |
| Punctaj total | 60 |