Pagini recente » Borderou de evaluare (job #2479856) | Borderou de evaluare (job #782132) | Borderou de evaluare (job #1984473) | Borderou de evaluare (job #2407071) | Borderou de evaluare (job #422248)
Borderou de evaluare (job #422248)
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void DF4(int, int)':
main.cpp:79:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<G[nod].size();++i)
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:96:26: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1005]' [-Wformat=]
scanf("%s\n",&A[i]);
^
main.cpp:117:25: error: 'memset' was not declared in this scope
memset(A,0,sizeof(A));
^
main.cpp:90: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:91: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:93: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:96: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:150: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 | 48ms | 14424kb | OK! | 10 |
2 | 52ms | 14660kb | OK! | 10 |
3 | 96ms | 15740kb | OK! | 10 |
4 | 172ms | 17140kb | OK! | 10 |
5 | 512ms | 19976kb | OK! | 10 |
6 | 548ms | 20744kb | OK! | 10 |
7 | 580ms | 21096kb | OK! | 10 |
8 | 624ms | 21572kb | OK! | 10 |
9 | 632ms | 22160kb | OK! | 10 |
10 | 628ms | 21360kb | OK! | 10 |
Punctaj total | 0 |