Pagini recente » Borderou de evaluare (job #387778) | Borderou de evaluare (job #1733770) | Borderou de evaluare (job #2648308) | Borderou de evaluare (job #3030378) | Borderou de evaluare (job #993778)
Borderou de evaluare (job #993778)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS()’:
user.cpp:49:27: warning: narrowing conversion of ‘capete’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
now = state {1, capete};
^
user.cpp: In function ‘int main()’:
user.cpp:86:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf ("%d %d", duratie + i, taiate + i);
^
user.cpp:86:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:78:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("zmeu2.in", "r", stdin);
^
user.cpp:79:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("zmeu2.out", "w", stdout);
^
user.cpp:81:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d %d", &capete, &povesti, &cupluri);
^
user.cpp:86:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", duratie + i, taiate + i);
^
user.cpp:90:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 16ms | 600kb | OK | 10 |
4 | 0ms | 580kb | OK | 10 |
5 | 8ms | 520kb | OK | 10 |
6 | 0ms | 328kb | OK | 10 |
7 | 0ms | 368kb | OK | 10 |
8 | 0ms | 288kb | OK | 10 |
9 | 12ms | 536kb | OK | 10 |
10 | 36ms | 632kb | OK | 10 |
Punctaj total | 100 |