Pagini recente » Borderou de evaluare (job #1691732) | Borderou de evaluare (job #1778890) | Borderou de evaluare (job #1699468) | Borderou de evaluare (job #2054453) | Borderou de evaluare (job #2018856)
Borderou de evaluare (job #2018856)
Raport evaluator
Compilare:
user.cpp: In function ‘bool ok(int, int)’:
user.cpp:44:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < h[pref].size(); ++ i) {
^
user.cpp: In function ‘int main()’:
user.cpp:80:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.in", "r", stdin);
^
user.cpp:81:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.out", "w", stdout);
^
user.cpp:84:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &m);
^
user.cpp:88:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str[i]);
^
user.cpp:96:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:98:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:88:21:
/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/ccOAurWB.o: In function `main':
user.cpp:(.text.startup+0x85): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 244ms | 1800kb | OK | 5 |
2 | 240ms | 1812kb | OK | 5 |
3 | 28ms | 2072kb | OK | 5 |
4 | 28ms | 2068kb | OK | 5 |
5 | 28ms | 2028kb | OK | 5 |
6 | 28ms | 2032kb | OK | 5 |
7 | 312ms | 3924kb | OK | 5 |
8 | 312ms | 4000kb | OK | 5 |
9 | 300ms | 3996kb | OK | 5 |
10 | 244ms | 1804kb | OK | 5 |
11 | 272ms | 1620kb | OK | 5 |
12 | 240ms | 2068kb | OK | 5 |
13 | 256ms | 1816kb | OK | 5 |
14 | 240ms | 2064kb | OK | 5 |
15 | 232ms | 1816kb | OK | 5 |
16 | 284ms | 61028kb | Incorect | 0 |
17 | Depăşit | 61168kb | Time limit exceeded. | 0 |
18 | Depăşit | 61224kb | Time limit exceeded. | 0 |
19 | Depăşit | 61076kb | Time limit exceeded. | 0 |
20 | Depăşit | 61068kb | Time limit exceeded. | 0 |
Punctaj total | 75 |