Pagini recente » Borderou de evaluare (job #2485300) | Borderou de evaluare (job #694209) | Borderou de evaluare (job #3004220) | Borderou de evaluare (job #2682285) | Borderou de evaluare (job #1677695)
Borderou de evaluare (job #1677695)
Raport evaluator
Compilare:
user.cpp: In function ‘int getInd(int)’:
user.cpp:121:14: warning: statement has no effect [-Wunused-value]
for (step; step; step >>= 1)
^
user.cpp: In function ‘int getRevInd(int)’:
user.cpp:131:14: warning: statement has no effect [-Wunused-value]
for (step; step; step >>= 1)
^
user.cpp: In function ‘void citire()’:
user.cpp:27:26: 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:29:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s+1, MAXN, stdin);
^
user.cpp:34:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op[i].tip);
^
user.cpp:36:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c\n", &op[i].p1, &c);
^
user.cpp:42:80: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &op[i].p1, &op[i].p2, &op[i].lg), op[i].p1++, op[i].p2++;
^
user.cpp: In function ‘int main()’:
user.cpp:175:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("diez.in", "r", stdin);
^
user.cpp:176:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("diez.out", "w", stdout);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/c++/4.8/ext/string_conversions.h:43,
from /usr/include/c++/4.8/bits/basic_string.h:2815,
from /usr/include/c++/4.8/string:52,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘void citire()’ at user.cpp:29:25:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | OK | 4 |
2 | 4ms | 564kb | OK | 4 |
3 | 172ms | 1888kb | OK | 4 |
4 | Depăşit | 4984kb | Time limit exceeded. | 0 |
5 | 1948ms | 24136kb | Incorect | 0 |
6 | 2640ms | 25632kb | Incorect | 0 |
7 | 1604ms | 24340kb | Incorect | 0 |
8 | 2852ms | 45040kb | Incorect | 0 |
9 | 2324ms | 25484kb | Incorect | 0 |
10 | 2212ms | 25660kb | Incorect | 0 |
11 | 2204ms | 25464kb | Incorect | 0 |
12 | 2132ms | 25648kb | Incorect | 0 |
13 | 2280ms | 25488kb | Incorect | 0 |
14 | 2284ms | 25420kb | Incorect | 0 |
15 | 2060ms | 25672kb | Incorect | 0 |
16 | 2220ms | 25468kb | Incorect | 0 |
17 | 2676ms | 44136kb | Incorect | 0 |
18 | Depăşit | 7012kb | Time limit exceeded. | 0 |
19 | Depăşit | 28124kb | Time limit exceeded. | 0 |
20 | Depăşit | 6904kb | Time limit exceeded. | 0 |
21 | Depăşit | 46180kb | Time limit exceeded. | 0 |
22 | Depăşit | 46124kb | Time limit exceeded. | 0 |
23 | 1924ms | 24172kb | Incorect | 0 |
24 | 2228ms | 24372kb | Incorect | 0 |
25 | 2480ms | 43080kb | Incorect | 0 |
Punctaj total | 12 |