Pagini recente » Borderou de evaluare (job #1810122) | Borderou de evaluare (job #2488950) | Borderou de evaluare (job #1080538) | Borderou de evaluare (job #1888369) | Borderou de evaluare (job #1746072)
Borderou de evaluare (job #1746072)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:55:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.in", "r", stdin);
^
user.cpp:56:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.out", "w", stdout);
^
user.cpp:59:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n);
^
user.cpp:61:27: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str + i * 64);
^
user.cpp:65:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&m);
^
user.cpp:67:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(pat);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:2:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:61:27:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccAGdrRj.o: In function `main':
user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0xc8): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 28ms | 516kb | Incorect | 0 |
2 | 8ms | 452kb | OK | 10 |
3 | 36ms | 27752kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 36ms | 27752kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 36ms | 27784kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 40ms | 27812kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 40ms | 27848kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 40ms | 27852kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 40ms | 27848kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 116ms | 27844kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 10 |