Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2104673)
| Utilizator | Data | 12 ianuarie 2018 03:18:18 | |
|---|---|---|---|
| Problema | Sirag 2 | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 30 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sirag2.in","r",stdin);
^
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sirag2.out","w",stdout);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:18:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&l);
^
user.cpp:19:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir+1);
^
/tmp/cccQjA6A.o: In function `main':
user.cpp:(.text.startup+0x9a): warning: the `gets' function is dangerous and should not be used.
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 12ms | 1252kb | Incorect | 0 |
| 2 | 0ms | 316kb | OK | 10 |
| 3 | 0ms | 316kb | OK | 10 |
| 4 | 0ms | 312kb | OK | 10 |
| 5 | 32ms | 1256kb | Incorect | 0 |
| 6 | 32ms | 1252kb | Incorect | 0 |
| 7 | 36ms | 1260kb | Incorect | 0 |
| 8 | 36ms | 1252kb | Incorect | 0 |
| 9 | 32ms | 1252kb | Incorect | 0 |
| 10 | 32ms | 1260kb | Incorect | 0 |
| Punctaj total | 30 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
