Pagini recente » Borderou de evaluare (job #1133914) | Borderou de evaluare (job #647838) | Borderou de evaluare (job #1408714) | Borderou de evaluare (job #1936959) | Borderou de evaluare (job #993368)
Borderou de evaluare (job #993368)
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",taiate+i,duratie+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",taiate+i,duratie+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 | 492kb | Incorect | 0 |
2 | 0ms | 496kb | Incorect | 0 |
3 | 16ms | 540kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 12ms | 536kb | Incorect | 0 |
5 | 8ms | 536kb | Incorect | 0 |
6 | 0ms | 500kb | Incorect | 0 |
7 | 12ms | 512kb | Incorect | 0 |
8 | 0ms | 492kb | Incorect | 0 |
9 | Depăşit | 544kb | Time limit exceeded. | 0 |
10 | 8ms | 308kb | Wall time limit exceeded. | 0 |
Punctaj total | 0 |