Pagini recente » Borderou de evaluare (job #1859402) | Borderou de evaluare (job #2423340) | Borderou de evaluare (job #406115) | Borderou de evaluare (job #508096) | Borderou de evaluare (job #1677218)
Borderou de evaluare (job #1677218)
Raport evaluator
Compilare:
user.cpp: In function ‘int bfs()’:
user.cpp:30:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<v[l].size();i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:49:33: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[1000005]’ [-Wformat=]
scanf("%d %d\n%s\n",&n,&m,&s);
^
user.cpp:102:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d ",sol[a][b][sol[a][b].size()-1]);
^
user.cpp:102:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d ",sol[a][b][sol[a][b].size()-1]);
^
user.cpp:102:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d ",sol[a][b][sol[a][b].size()-1]);
^
user.cpp:102:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d ",sol[a][b][sol[a][b].size()-1]);
^
user.cpp:103:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol[a][b].erase(sol[a][b].begin()+sol[a][b].size()-1);
^
user.cpp:103:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol[a][b].erase(sol[a][b].begin()+sol[a][b].size()-1);
^
user.cpp:103:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol[a][b].erase(sol[a][b].begin()+sol[a][b].size()-1);
^
user.cpp:103:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol[a][b].erase(sol[a][b].begin()+sol[a][b].size()-1);
^
user.cpp:103:52: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol[a][b].erase(sol[a][b].begin()+sol[a][b].size()-1);
^
user.cpp:103:55: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sol[a][b].erase(sol[a][b].begin()+sol[a][b].size()-1);
^
user.cpp:47:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teroristi.in","r",stdin);
^
user.cpp:48:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teroristi.out","w",stdout);
^
user.cpp:49:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n%s\n",&n,&m,&s);
^
user.cpp:53:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c %c\n",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 400kb | Ok! | 10 |
2 | 0ms | 532kb | Ok! | 10 |
3 | 0ms | 1460kb | Ok! | 10 |
4 | 8ms | 3256kb | Ok! | 10 |
5 | 12ms | 3764kb | Ok! | 10 |
6 | 52ms | 4780kb | Ok! | 10 |
7 | 244ms | 6448kb | Ok! | 10 |
8 | 476ms | 8372kb | Ok! | 10 |
9 | 608ms | 9388kb | Ok! | 10 |
10 | 740ms | 10916kb | Ok! | 10 |
Punctaj total | 100 |