Pagini recente » Borderou de evaluare (job #891132) | Borderou de evaluare (job #2113529) | Borderou de evaluare (job #602122) | Borderou de evaluare (job #1701306) | Borderou de evaluare (job #569009)
Borderou de evaluare (job #569009)
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:101:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1010]' [-Wformat=]
scanf("%s", &s[i]);
^
main.cpp:110:32: error: 'memset' was not declared in this scope
memset(viz, false, sizeof(viz));
^
main.cpp: In function 'void queries()':
main.cpp:81: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:97: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:98: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:99: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:101: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 | 44ms | 13632kb | OK! | 10 |
2 | 52ms | 14480kb | OK! | 10 |
3 | 128ms | 19856kb | OK! | 10 |
4 | 272ms | 30132kb | OK! | 10 |
5 | Depăşit | 66492kb | Time limit exceeded. | 0 |
6 | Depăşit | 71336kb | Time limit exceeded. | 0 |
7 | Depăşit | 65696kb | Time limit exceeded. | 0 |
8 | Depăşit | 64952kb | Time limit exceeded. | 0 |
9 | Depăşit | 64564kb | Time limit exceeded. | 0 |
10 | 808ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |