Pagini recente » Borderou de evaluare (job #444852) | Borderou de evaluare (job #417178) | Borderou de evaluare (job #2498945) | Borderou de evaluare (job #2112716) | Borderou de evaluare (job #1677769)
Borderou de evaluare (job #1677769)
Raport evaluator
Compilare:
user.cpp: In function ‘int getInd(int)’:
user.cpp:124:14: warning: statement has no effect [-Wunused-value]
for (step; step; step >>= 1)
^
user.cpp: In function ‘int getRevInd(int)’:
user.cpp:134: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:181: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:182: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 | 1884kb | OK | 4 |
4 | Depăşit | 5308kb | Time limit exceeded. | 0 |
5 | 1948ms | 24136kb | OK | 4 |
6 | 2644ms | 25628kb | OK | 4 |
7 | 1592ms | 24344kb | OK | 4 |
8 | 2836ms | 45044kb | OK | 4 |
9 | 2316ms | 25488kb | OK | 4 |
10 | 2204ms | 25660kb | OK | 4 |
11 | 2200ms | 25468kb | OK | 4 |
12 | 2120ms | 25644kb | OK | 4 |
13 | 2276ms | 25488kb | OK | 4 |
14 | 2268ms | 25420kb | OK | 4 |
15 | 2052ms | 25676kb | OK | 4 |
16 | 2212ms | 25472kb | OK | 4 |
17 | 2684ms | 44132kb | OK | 4 |
18 | Depăşit | 7020kb | Time limit exceeded. | 0 |
19 | Depăşit | 27188kb | Time limit exceeded. | 0 |
20 | Depăşit | 6892kb | Time limit exceeded. | 0 |
21 | Depăşit | 46180kb | Time limit exceeded. | 0 |
22 | Depăşit | 46120kb | Time limit exceeded. | 0 |
23 | 1916ms | 24176kb | OK | 4 |
24 | 2216ms | 24376kb | OK | 4 |
25 | 2476ms | 43080kb | OK | 4 |
Punctaj total | 76 |