Pagini recente » Borderou de evaluare (job #529613) | Borderou de evaluare (job #2387746) | Borderou de evaluare (job #1612263) | Borderou de evaluare (job #2004287) | Borderou de evaluare (job #1265400)
Borderou de evaluare (job #1265400)
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/ccYyFdwt.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 | 552kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 1140kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 4ms | 1304kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 72ms | 1752kb | OK! | 10 |
6 | 32ms | 1840kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 48ms | 2288kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 68ms | 2708kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 20ms | 1640kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 36ms | 2020kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 20 |