Nu aveti permisiuni pentru a descarca fisierul grader_popa_interact.cpp
Borderou de evaluare (job #569227)
| Utilizator | Data | 1 aprilie 2011 10:24:19 | |
|---|---|---|---|
| Problema | Pirati | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
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:115:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1010]' [-Wformat=]
scanf("%s", &s[i]);
^
main.cpp:124:32: error: 'memset' was not declared in this scope
memset(viz, false, sizeof(viz));
^
main.cpp: In function 'void queries()':
main.cpp:95: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:111: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:112: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:113: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:115: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 | 280ms | 14500kb | OK! | 10 |
| 2 | Depăşit | 14704kb | Time limit exceeded. | 0 |
| 3 | Depăşit | 15848kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 17440kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 21176kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 19980kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 20552kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 21844kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 21052kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 22608kb | Time limit exceeded. | 0 |
| Punctaj total | 0 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
