Pagini recente » Borderou de evaluare (job #2638924) | Borderou de evaluare (job #1683740) | Borderou de evaluare (job #1749440) | Borderou de evaluare (job #620793) | Borderou de evaluare (job #570388)
Borderou de evaluare (job #570388)
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:27:6: warning: unused variable 'i' [-Wunused-variable]
int i;
^
main.cpp: In function 'int main()':
main.cpp:103:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1010]' [-Wformat=]
scanf("%s", &s[i]);
^
main.cpp:112:32: error: 'memset' was not declared in this scope
memset(viz, false, sizeof(viz));
^
main.cpp: In function 'void queries()':
main.cpp:83: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:99: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:100: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:101: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:103: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 | 84ms | 25500kb | OK! | 10 |
2 | 88ms | 25888kb | OK! | 10 |
3 | 172ms | 28012kb | OK! | 10 |
4 | 328ms | 31516kb | OK! | 10 |
5 | Depăşit | 34592kb | Time limit exceeded. | 0 |
6 | Depăşit | 33032kb | Time limit exceeded. | 0 |
7 | Depăşit | 33444kb | Time limit exceeded. | 0 |
8 | Depăşit | 34480kb | Time limit exceeded. | 0 |
9 | Depăşit | 33792kb | Time limit exceeded. | 0 |
10 | Depăşit | 35288kb | Time limit exceeded. | 0 |
Punctaj total | 0 |