Pagini recente » Borderou de evaluare (job #2731753) | Borderou de evaluare (job #3181538) | Borderou de evaluare (job #2720847) | Borderou de evaluare (job #253021) | Borderou de evaluare (job #993698)
Borderou de evaluare (job #993698)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS()’:
user.cpp:36:25: warning: narrowing conversion of ‘capete’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
now = state{1,capete};
^
user.cpp:48:36: warning: narrowing conversion of ‘i’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
Q.push(state{i,left});
^
user.cpp:48:36: warning: narrowing conversion of ‘left’ from ‘const int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp: In function ‘int main()’:
user.cpp:64:40: 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:64:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:56:36: 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:57:38: 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:59:46: 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:64:41: 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:68:28: 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 | 488kb | OK | 10 |
2 | 0ms | 488kb | OK | 10 |
3 | 84ms | 532kb | Killed by signal 11(SIGSEGV). | 0 |
4 | Depăşit | 524kb | Time limit exceeded. | 0 |
5 | 8ms | 536kb | OK | 10 |
6 | 0ms | 500kb | OK | 10 |
7 | 8ms | 516kb | OK | 10 |
8 | 0ms | 488kb | OK | 10 |
9 | Depăşit | 540kb | Time limit exceeded. | 0 |
10 | 8ms | 304kb | Wall time limit exceeded. | 0 |
Punctaj total | 60 |