Pagini recente » Borderou de evaluare (job #1644804) | Borderou de evaluare (job #1175781) | Borderou de evaluare (job #395115) | Borderou de evaluare (job #1206459) | Borderou de evaluare (job #2105487)
Borderou de evaluare (job #2105487)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.in","r",stdin);
^
user.cpp:42:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.out","w",stdout);
^
user.cpp:44:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&l,&n);
^
user.cpp:46:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir+1);
^
user.cpp:49:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&l1);
^
user.cpp:50:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir1+1);
^
/tmp/ccOLwqwd.o: In function `main':
user.cpp:(.text.startup+0x96): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 380kb | OK | 10 |
2 | 4ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 8ms | 376kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 20ms | 6480kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 36ms | 12528kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 20ms | 6464kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 44ms | 12524kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 20ms | 6500kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 4ms | 1180kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 756kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 10 |