Pagini recente » Cod sursa (job #439572) | Cod sursa (job #1084998) | Cod sursa (job #778630) | Clasament winners7 | Borderou de evaluare (job #1569659)
Borderou de evaluare (job #1569659)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ahocorasick.in", "r", stdin);
^
user.cpp:41:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ahocorasick.out", "w", stdout);
^
user.cpp:43:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir + 1);
^
user.cpp:49:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:52:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i] + 1);
^
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:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:52:23:
/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/cc5CPpQX.o: In function `main':
user.cpp:(.text.startup+0x10f): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0x5b): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 460kb | OK | 5 |
2 | 0ms | 480kb | OK | 5 |
3 | 0ms | 476kb | OK | 5 |
4 | 0ms | 488kb | OK | 5 |
5 | 0ms | 448kb | OK | 5 |
6 | 8ms | 1144kb | OK | 5 |
7 | 16ms | 1432kb | OK | 5 |
8 | 16ms | 1988kb | Incorect | 0 |
9 | 16ms | 2180kb | Incorect | 0 |
10 | 16ms | 1688kb | Incorect | 0 |
11 | 16ms | 1416kb | OK | 5 |
12 | 16ms | 1876kb | Incorect | 0 |
13 | 4ms | 944kb | Incorect | 0 |
14 | 8ms | 992kb | OK | 5 |
15 | 12ms | 1520kb | Incorect | 0 |
16 | 8ms | 1608kb | Incorect | 0 |
17 | 12ms | 1648kb | Incorect | 0 |
18 | 12ms | 1440kb | Incorect | 0 |
19 | 16ms | 2116kb | Incorect | 0 |
20 | 56ms | 3864kb | OK | 5 |
Punctaj total | 50 |