Pagini recente » Borderou de evaluare (job #1080225) | Borderou de evaluare (job #871752) | Borderou de evaluare (job #3182548) | Borderou de evaluare (job #1544597) | Borderou de evaluare (job #568988)
Borderou de evaluare (job #568988)
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:29:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<v[nod].size(); i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:102:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1010]' [-Wformat=]
scanf("%s", &s[i]);
^
main.cpp:111:32: error: 'memset' was not declared in this scope
memset(viz, false, sizeof(viz));
^
main.cpp: In function 'void queries()':
main.cpp:82: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);
^
main.cpp: In function 'int main()':
main.cpp:98:34: 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:99:36: 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:100:31: 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:102:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s[i]);
^
Non zero exit status: 1
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 48ms | 13504kb | OK! | 10 |
2 | 52ms | 13892kb | OK! | 10 |
3 | 56ms | 14924kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 80ms | 16416kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 200ms | 20012kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 196ms | 18884kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 220ms | 19452kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 236ms | 20576kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 244ms | 19960kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 244ms | 21388kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |