Pagini recente » Borderou de evaluare (job #1112561) | Borderou de evaluare (job #2265930) | Borderou de evaluare (job #1120423) | Borderou de evaluare (job #487796) | Borderou de evaluare (job #2024627)
Borderou de evaluare (job #2024627)
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 | 692kb | Incorect | 0 |
2 | Depăşit | 852kb | Time limit exceeded. | 0 |
3 | 28ms | 664kb | OK | 10 |
4 | Depăşit | 704kb | Time limit exceeded. | 0 |
5 | Depăşit | 744kb | Time limit exceeded. | 0 |
6 | Depăşit | 784kb | Time limit exceeded. | 0 |
7 | Depăşit | 716kb | Time limit exceeded. | 0 |
8 | 12ms | 680kb | OK | 10 |
9 | 0ms | 480kb | Incorect | 0 |
10 | 36ms | 684kb | Incorect | 0 |
Punctaj total | 20 |