Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1845415)
| Utilizator | Data | 11 ianuarie 2017 14:19:15 | |
|---|---|---|---|
| Problema | Texttrim | Status | done |
| Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.in", "r", stdin);
^
user.cpp:22:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.out", "w", stdout);
^
user.cpp:24:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
user.cpp:25:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:26:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:29:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &limit);
^
/tmp/cczpwz45.o: In function `main':
user.cpp:(.text.startup+0x87): warning: the `gets' function is dangerous and should not be used.
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|
| 1 | 0ms | 272kb | OK | 10 | 100 |
| 2 | 0ms | 260kb | OK | 10 | |
| 3 | 0ms | 264kb | OK | 10 | |
| 4 | 0ms | 264kb | OK | 10 | |
| 5 | 0ms | 296kb | OK | 10 | |
| 6 | 0ms | 468kb | OK | 10 | |
| 7 | 8ms | 1228kb | OK | 10 | |
| 8 | 16ms | 1240kb | OK | 10 | |
| 9 | 8ms | 1244kb | OK | 10 | |
| 10 | 8ms | 1240kb | OK | 10 | |
| Punctaj total | 100 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
