Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1956017)
| Utilizator | Data | 6 aprilie 2017 13:47:04 | |
|---|---|---|---|
| Problema | Teroristi | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int bfs()’:
user.cpp:64:9: warning: unused variable ‘ok’ [-Wunused-variable]
int ok = 0;
^
user.cpp: In function ‘void build()’:
user.cpp:51:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c %c\n", &a, &b);
^
user.cpp: In function ‘int main()’:
user.cpp:143:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teroristi.in", "r", stdin);
^
user.cpp:144:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teroristi.out", "w", stdout);
^
user.cpp:146:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:147:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccx7691J.o: In function `main':
user.cpp:(.text.startup+0x6f): warning: the `gets' function is dangerous and should not be used.
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 4ms | 2972kb | Ok! | 10 |
| 2 | 4ms | 3056kb | Ok! | 10 |
| 3 | 4ms | 3508kb | Ok! | 10 |
| 4 | 8ms | 4388kb | Ok! | 10 |
| 5 | 8ms | 4824kb | Ok! | 10 |
| 6 | 32ms | 6304kb | Ok! | 10 |
| 7 | 152ms | 10180kb | Ok! | 10 |
| 8 | 300ms | 14720kb | Ok! | 10 |
| 9 | 400ms | 17128kb | Ok! | 10 |
| 10 | 488ms | 20028kb | Ok! | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
