Pagini recente » Borderou de evaluare (job #1638324) | Borderou de evaluare (job #2990690) | Borderou de evaluare (job #1703383) | Borderou de evaluare (job #656489) | Borderou de evaluare (job #2026416)
Borderou de evaluare (job #2026416)
Raport evaluator
Compilare:
user.cpp: In function ‘bool check(long long int)’:
user.cpp:40:14: warning: statement has no effect [-Wunused-value]
for(j;j<=lng[i];++j)
^
user.cpp: In function ‘int main()’:
user.cpp:63:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,step;
^
user.cpp:75:9: warning: unused variable ‘med’ [-Wunused-variable]
int med,st=1,dr=UB;
^
user.cpp:75:13: warning: unused variable ‘st’ [-Wunused-variable]
int med,st=1,dr=UB;
^
user.cpp:60:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsecvente2.in","r",stdin);
^
user.cpp:61:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsecvente2.out","w",stdout);
^
user.cpp:65:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:68:21: 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 user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:68: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/ccdz5bzC.o: In function `main':
user.cpp:(.text.startup+0x7e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 316kb | Incorect | 0 |
2 | 0ms | 316kb | Incorect | 0 |
3 | 0ms | 324kb | Incorect | 0 |
4 | 0ms | 308kb | Incorect | 0 |
5 | 0ms | 328kb | Incorect | 0 |
6 | 0ms | 316kb | Incorect | 0 |
7 | 4ms | 388kb | Incorect | 0 |
8 | 4ms | 392kb | Incorect | 0 |
9 | 4ms | 400kb | Incorect | 0 |
10 | 4ms | 408kb | Incorect | 0 |
11 | 4ms | 412kb | Incorect | 0 |
12 | 4ms | 420kb | Incorect | 0 |
13 | 8ms | 620kb | Incorect | 0 |
14 | 8ms | 516kb | Incorect | 0 |
15 | 8ms | 524kb | Incorect | 0 |
16 | 12ms | 616kb | Incorect | 0 |
17 | 76ms | 1580kb | Incorect | 0 |
18 | 52ms | 1316kb | Incorect | 0 |
19 | 88ms | 1580kb | Incorect | 0 |
20 | 60ms | 1580kb | Incorect | 0 |
Punctaj total | 0 |