Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1731185)
| Utilizator | Data | 18 iulie 2016 14:59:33 | |
|---|---|---|---|
| Problema | Interzis | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interzis.in","r",stdin);
^
user.cpp:53:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interzis.out","w",stdout);
^
user.cpp:55:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&l); gets(s);
^
user.cpp:55:34: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&l); gets(s);
^
user.cpp:57:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); urm1[1]=urm2[1]=0;
^
/tmp/ccV7svSg.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|
| 1 | 4ms | 436kb | OK | 10 | 10 |
| 2 | 4ms | 436kb | OK | 10 | 10 |
| 3 | 4ms | 440kb | OK | 10 | 10 |
| 4 | 4ms | 440kb | OK | 10 | 10 |
| 5 | 4ms | 444kb | OK | 10 | 10 |
| 6 | 4ms | 436kb | OK | 10 | 10 |
| 7 | 4ms | 444kb | OK | 10 | 10 |
| 8 | 4ms | 444kb | OK | 10 | 10 |
| 9 | 88ms | 444kb | OK | 10 | 20 |
| 10 | 84ms | 440kb | OK | 10 | |
| Punctaj total | 100 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
