Pagini recente » Borderou de evaluare (job #2854462) | Borderou de evaluare (job #2924317) | Borderou de evaluare (job #1571778) | Borderou de evaluare (job #2375321) | Borderou de evaluare (job #1646321)
Borderou de evaluare (job #1646321)
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 | 268kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 280kb | OK | 10 |
5 | 72ms | 1304kb | OK | 10 |
6 | 0ms | 268kb | OK | 10 |
7 | 76ms | 1420kb | OK | 10 |
8 | 80ms | 1428kb | OK | 10 |
9 | 80ms | 1432kb | OK | 10 |
10 | 76ms | 1416kb | OK | 10 |
Punctaj total | 100 |