Pagini recente » Borderou de evaluare (job #1260828) | Borderou de evaluare (job #1977190) | Borderou de evaluare (job #2556660) | Borderou de evaluare (job #2317574) | Borderou de evaluare (job #993712)
Borderou de evaluare (job #993712)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS()’:
user.cpp:38:26: warning: narrowing conversion of ‘capete’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
now = state {1,capete};
^
user.cpp:56:37: warning: narrowing conversion of ‘i’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
Q.push (state{i,left});
^
user.cpp:56:37: warning: narrowing conversion of ‘left’ from ‘const int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp: In function ‘int main()’:
user.cpp:72: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:72:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:64: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:65: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:67: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:72: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:76: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 | 492kb | OK | 10 |
2 | 0ms | 492kb | OK | 10 |
3 | 84ms | 532kb | Killed by signal 11(SIGSEGV). | 0 |
4 | Depăşit | 524kb | Time limit exceeded. | 0 |
5 | 8ms | 532kb | OK | 10 |
6 | 0ms | 496kb | OK | 10 |
7 | 8ms | 520kb | OK | 10 |
8 | 0ms | 488kb | OK | 10 |
9 | Depăşit | 544kb | Time limit exceeded. | 0 |
10 | 8ms | 312kb | Wall time limit exceeded. | 0 |
Punctaj total | 60 |