Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #944544) | Borderou de evaluare (job #2766399) | Borderou de evaluare (job #695971) | Borderou de evaluare (job #1558485)
Borderou de evaluare (job #1558485)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("par.in","r",stdin);
^
user.cpp:18:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("par.out","w",stdout);
^
user.cpp:19:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n); gets(s+1);
^
user.cpp:19:28: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n); gets(s+1);
^
/tmp/cc9Y8ELK.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 |
Punctaj/grupa |
| 1 | 0ms | 268kb | Incorect | 0 | 0 |
| 2 | 0ms | 252kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 | 10 |
| 4 | 0ms | 272kb | OK | 10 | 10 |
| 5 | 0ms | 268kb | OK | 10 | 10 |
| 6 | 0ms | 272kb | OK | 10 | 10 |
| 7 | 0ms | 276kb | OK | 10 | 10 |
| 8 | 0ms | 276kb | Incorect | 0 | 0 |
| 9 | 0ms | 280kb | Incorect | 0 | 0 |
| 10 | 0ms | 280kb | OK | 10 | 10 |
| Punctaj total | 60 |