Pagini recente » Borderou de evaluare (job #2636557) | Borderou de evaluare (job #2629871) | Borderou de evaluare (job #2405627) | Borderou de evaluare (job #2665371) | Borderou de evaluare (job #1646234)
Borderou de evaluare (job #1646234)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("garaj.in","r",stdin);
^
user.cpp:16:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("garaj.out","w",stdout);
^
user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:19:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].c,&v[i].t);
^
user.cpp:35:17: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
vc[i]=(k/v[i].t)*v[i].c;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 268kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 0ms | 280kb | OK | 10 |
| 5 | 76ms | 1312kb | Incorect | 0 |
| 6 | 0ms | 272kb | Incorect | 0 |
| 7 | 84ms | 1424kb | Incorect | 0 |
| 8 | 84ms | 1432kb | Incorect | 0 |
| 9 | 88ms | 1432kb | Incorect | 0 |
| 10 | 88ms | 1420kb | Incorect | 0 |
| Punctaj total | 40 |