Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1495697)
| Utilizator | Data | 3 octombrie 2015 14:06:10 | |
|---|---|---|---|
| Problema | Prefix | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.in","r",stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.out","w",stdout);
^
user.cpp:11:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&t);
^
user.cpp:14:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1);
^
/tmp/cceBDm1s.o: In function `main':
user.cpp:(.text.startup+0x76): warning: the `gets' function is dangerous and should not be used.
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 280kb | OK | 10 |
| 3 | 0ms | 352kb | OK | 10 |
| 4 | 44ms | 2568kb | OK | 10 |
| 5 | 12ms | 760kb | OK | 10 |
| 6 | 28ms | 1492kb | OK | 10 |
| 7 | 92ms | 3520kb | OK | 10 |
| 8 | 136ms | 5096kb | OK | 10 |
| 9 | 8ms | 588kb | OK | 10 |
| 10 | 0ms | 276kb | OK | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
