Pagini recente » Borderou de evaluare (job #2165431) | Borderou de evaluare (job #118132) | Borderou de evaluare (job #2918715) | Borderou de evaluare (job #2478492) | Borderou de evaluare (job #1265412)
Borderou de evaluare (job #1265412)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.in","r",stdin);
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.out","w",stdout);
^
user.cpp:9:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:10:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccOTfzEU.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 |
| 1 | 0ms | 288kb | OK! | 10 |
| 2 | 0ms | 672kb | OK! | 10 |
| 3 | 0ms | 1244kb | OK! | 10 |
| 4 | 4ms | 1400kb | OK! | 10 |
| 5 | 140ms | 4700kb | OK! | 10 |
| 6 | 56ms | 3028kb | OK! | 10 |
| 7 | 100ms | 4348kb | OK! | 10 |
| 8 | 140ms | 5652kb | OK! | 10 |
| 9 | 36ms | 2428kb | OK! | 10 |
| 10 | 76ms | 3580kb | OK! | 10 |
| Punctaj total | 100 |