Pagini recente » Borderou de evaluare (job #1318124) | Borderou de evaluare (job #2824828) | Borderou de evaluare (job #2481438) | Borderou de evaluare (job #3225891) | Borderou de evaluare (job #1265396)
Borderou de evaluare (job #1265396)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9: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:10: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:11:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:12:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccLEeJZy.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 | 268kb | OK! | 10 |
2 | 0ms | 324kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 304kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 364kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 4ms | 1728kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 4ms | 884kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 4ms | 1332kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 8ms | 1772kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 652kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 4ms | 1032kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 10 |