Pagini recente » Borderou de evaluare (job #363537) | Borderou de evaluare (job #53728) | Borderou de evaluare (job #2275475) | Borderou de evaluare (job #488988) | Borderou de evaluare (job #2040076)
Borderou de evaluare (job #2040076)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21: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:22: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:25:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:26:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccqMMTmz.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 | 280kb | Raspuns gresit! | 0 |
2 | 0ms | 284kb | OK! | 10 |
3 | 0ms | 292kb | Raspuns gresit! | 0 |
4 | 0ms | 432kb | Raspuns gresit! | 0 |
5 | 56ms | 812kb | OK! | 10 |
6 | 24ms | 2528kb | Raspuns gresit! | 0 |
7 | 40ms | 2656kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 60ms | 2808kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 16ms | 2460kb | OK! | 10 |
10 | 32ms | 2600kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 30 |