Pagini recente » Borderou de evaluare (job #1110917) | Borderou de evaluare (job #2517174) | Borderou de evaluare (job #1467501) | Borderou de evaluare (job #1209052) | Borderou de evaluare (job #422225)
Borderou de evaluare (job #422225)
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:83:26: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1005]' [-Wformat=]
scanf("%s\n",&A[i]);
^
main.cpp:104:25: error: 'memset' was not declared in this scope
memset(A,0,sizeof(A));
^
main.cpp:156:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<G[nod].size();++j)
~^~~~~~~~~~~~~~
main.cpp:77:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pirati.in","r",stdin);
^
main.cpp:78:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pirati.out","w",stdout);
^
main.cpp:80:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n",&N,&M,&Q);
^
main.cpp:83:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",&A[i]);
^
main.cpp:131:48: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d\n",&l1,&c1,&l2,&c2);
^
Non zero exit status: 1
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 140ms | 14420kb | OK! | 10 |
2 | 408ms | 14676kb | OK! | 10 |
3 | 740ms | 15744kb | OK! | 10 |
4 | Depăşit | 17124kb | Time limit exceeded. | 0 |
5 | Depăşit | 19952kb | Time limit exceeded. | 0 |
6 | Depăşit | 20720kb | Time limit exceeded. | 0 |
7 | Depăşit | 21076kb | Time limit exceeded. | 0 |
8 | Depăşit | 21540kb | Time limit exceeded. | 0 |
9 | Depăşit | 22116kb | Time limit exceeded. | 0 |
10 | Depăşit | 21348kb | Time limit exceeded. | 0 |
Punctaj total | 0 |