Pagini recente » Borderou de evaluare (job #1064022) | Borderou de evaluare (job #1730624) | Borderou de evaluare (job #2560912) | Borderou de evaluare (job #2026732) | Borderou de evaluare (job #2024632)
Borderou de evaluare (job #2024632)
Raport evaluator
Compilare:
user.cpp: In function ‘void bellman(int)’:
user.cpp:20:17: warning: unused variable ‘x’ [-Wunused-variable]
int x = *it;
^
user.cpp: In function ‘int main()’:
user.cpp:40:51: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
for(int i = 1; i <= n ; ++i) scanf("%d", &f[i]);
^
user.cpp:37:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.in", "r", stdin);
^
user.cpp:38:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.out", "w", stdout);
^
user.cpp:39:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:40:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n ; ++i) scanf("%d", &f[i]);
^
user.cpp:41:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:44:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &x, &y, &di, &cons);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 92ms | 676kb | Incorect | 0 |
| 2 | Depăşit | 848kb | Time limit exceeded. | 0 |
| 3 | 24ms | 660kb | OK | 10 |
| 4 | Depăşit | 708kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 744kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 776kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 712kb | Time limit exceeded. | 0 |
| 8 | 12ms | 672kb | OK | 10 |
| 9 | 0ms | 468kb | Incorect | 0 |
| 10 | 36ms | 672kb | Incorect | 0 |
| Punctaj total | 20 |