Pagini recente » Borderou de evaluare (job #1574748) | Borderou de evaluare (job #1089786) | Borderou de evaluare (job #2409719) | Borderou de evaluare (job #1190110) | Borderou de evaluare (job #1677217)
Borderou de evaluare (job #1677217)
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 | 404kb | Ok! | 10 |
2 | 0ms | 536kb | Ok! | 10 |
3 | 0ms | 1460kb | Ok! | 10 |
4 | 8ms | 3260kb | Ok! | 10 |
5 | 12ms | 3756kb | Ok! | 10 |
6 | 52ms | 4780kb | Ok! | 10 |
7 | 244ms | 6452kb | Ok! | 10 |
8 | 472ms | 8372kb | Ok! | 10 |
9 | 600ms | 9388kb | Ok! | 10 |
10 | 752ms | 10916kb | Ok! | 10 |
Punctaj total | 100 |