Pagini recente » Borderou de evaluare (job #1274895) | Borderou de evaluare (job #587469) | Borderou de evaluare (job #2308451) | Borderou de evaluare (job #1303521) | Borderou de evaluare (job #2024642)
Borderou de evaluare (job #2024642)
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:42: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:39: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:40: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:41: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:42: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:43:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:46: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 | 0ms | 676kb | OK | 10 |
2 | 16ms | 788kb | OK | 10 |
3 | 0ms | 660kb | OK | 10 |
4 | 40ms | 716kb | OK | 10 |
5 | 48ms | 756kb | OK | 10 |
6 | 60ms | 780kb | OK | 10 |
7 | 56ms | 732kb | OK | 10 |
8 | 0ms | 668kb | OK | 10 |
9 | 0ms | 464kb | OK | 10 |
10 | 4ms | 672kb | OK | 10 |
Punctaj total | 100 |