Pagini recente » Borderou de evaluare (job #481500) | Borderou de evaluare (job #2829157) | Borderou de evaluare (job #2658578) | Borderou de evaluare (job #1238920) | Borderou de evaluare (job #1798673)
Borderou de evaluare (job #1798673)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:17:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:19:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &cul[i], &cost[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:67:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trans.in", "r", stdin);
^
user.cpp:68:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trans.out", "w", stdout);
^
user.cpp:71:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &teste);
^
user.cpp:74:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &cap, &drm);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 344kb | Incorect | 0 |
2 | 0ms | 348kb | OK | 10 |
3 | 0ms | 424kb | Incorect | 0 |
4 | 8ms | 584kb | Incorect | 0 |
5 | 20ms | 504kb | Incorect | 0 |
6 | 32ms | 588kb | Incorect | 0 |
7 | 28ms | 580kb | Incorect | 0 |
8 | 32ms | 592kb | Incorect | 0 |
9 | 32ms | 616kb | Incorect | 0 |
10 | 36ms | 600kb | Incorect | 0 |
Punctaj total | 10 |