Pagini recente » Borderou de evaluare (job #2445361) | Borderou de evaluare (job #1639333) | Borderou de evaluare (job #1483430) | Borderou de evaluare (job #1871611) | Borderou de evaluare (job #1265401)
Borderou de evaluare (job #1265401)
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/ccmKakBN.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 | 272kb | OK! | 10 |
2 | 0ms | 652kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 1444kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 4ms | 1552kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 72ms | 1764kb | OK! | 10 |
6 | 32ms | 1892kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 52ms | 2500kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 68ms | 2904kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 20ms | 1664kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 36ms | 2044kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 20 |