Pagini recente » Borderou de evaluare (job #875112) | Borderou de evaluare (job #986418) | Borderou de evaluare (job #605641) | Borderou de evaluare (job #208632) | Borderou de evaluare (job #2041014)
Borderou de evaluare (job #2041014)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23: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:24: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:28:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:30:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccGF2GoH.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 | 848kb | OK! | 10 |
| 2 | 0ms | 848kb | OK! | 10 |
| 3 | 4ms | 848kb | OK! | 10 |
| 4 | 8ms | 860kb | OK! | 10 |
| 5 | 12ms | 1332kb | OK! | 10 |
| 6 | 32ms | 1044kb | OK! | 10 |
| 7 | 52ms | 1192kb | OK! | 10 |
| 8 | 76ms | 1332kb | OK! | 10 |
| 9 | 28ms | 980kb | OK! | 10 |
| 10 | 52ms | 1104kb | Raspuns gresit! | 0 |
| Punctaj total | 90 |