Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1265402)
| Utilizator | Data | 17 noiembrie 2014 11:35:01 | |
|---|---|---|---|
| Problema | String | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 90 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.in", "r", stdin);
^
user.cpp:22:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.out", "w", stdout);
^
user.cpp:23:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:24:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccdC2ZaB.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 264kb | OK! | 10 |
| 2 | 0ms | 260kb | OK! | 10 |
| 3 | 0ms | 260kb | OK! | 10 |
| 4 | 0ms | 292kb | Raspuns gresit! | 0 |
| 5 | 44ms | 744kb | OK! | 10 |
| 6 | 16ms | 704kb | OK! | 10 |
| 7 | 32ms | 1112kb | OK! | 10 |
| 8 | 44ms | 1260kb | OK! | 10 |
| 9 | 12ms | 644kb | OK! | 10 |
| 10 | 24ms | 1028kb | OK! | 10 |
| Punctaj total | 90 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
