Pagini recente » Borderou de evaluare (job #860763) | Borderou de evaluare (job #2648942) | Borderou de evaluare (job #684249) | Borderou de evaluare (job #684100) | Borderou de evaluare (job #455229)
Borderou de evaluare (job #455229)
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:110:30: error: 'memset' was not declared in this scope
memset(ok, false, sizeof(ok));
^
main.cpp:121:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0; j<G[a[i]].size(); j++)
~^~~~~~~~~~~~~~~
main.cpp:96:32: 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:97:34: 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:98:30: 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:100:29: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(A[i]+1, M+10, stdin);
^
main.cpp:131:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&x1,&y1,&x2,&y2);
^
Non zero exit status: 1
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 8kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 4ms | 8kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 4ms | 8kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 8kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 12kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 4ms | 12kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 8kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 4ms | 8kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 4ms | 8kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 8kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |