Pagini recente » Borderou de evaluare (job #2194137) | Borderou de evaluare (job #639954) | Borderou de evaluare (job #2322519) | Borderou de evaluare (job #1879318) | Borderou de evaluare (job #1646224)
Borderou de evaluare (job #1646224)
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 | 264kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 280kb | OK | 10 |
5 | 72ms | 1308kb | Incorect | 0 |
6 | 0ms | 268kb | Incorect | 0 |
7 | 80ms | 1420kb | Incorect | 0 |
8 | 84ms | 1436kb | Incorect | 0 |
9 | 84ms | 1432kb | Incorect | 0 |
10 | 84ms | 1416kb | Incorect | 0 |
Punctaj total | 40 |