Pagini recente » Borderou de evaluare (job #1139863) | Borderou de evaluare (job #2154142) | Borderou de evaluare (job #751009) | Borderou de evaluare (job #3113089) | Borderou de evaluare (job #2026368)
Borderou de evaluare (job #2026368)
Raport evaluator
Compilare:
user.cpp: In function ‘bool check(int)’:
user.cpp:44:15: warning: statement has no effect [-Wunused-value]
for(j ; j<=lng[i] ; ++j)
^
user.cpp: In function ‘int main()’:
user.cpp:64:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp:61: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:62: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:66: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/ccyekviz.o: In function `main':
user.cpp:(.text.startup+0x86): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | OK | 5 |
2 | 0ms | 300kb | OK | 5 |
3 | 0ms | 308kb | OK | 5 |
4 | 0ms | 300kb | Incorect | 0 |
5 | 0ms | 308kb | Incorect | 0 |
6 | 0ms | 304kb | Incorect | 0 |
7 | 12ms | 424kb | Incorect | 0 |
8 | 16ms | 436kb | Incorect | 0 |
9 | 12ms | 424kb | Incorect | 0 |
10 | 16ms | 444kb | Incorect | 0 |
11 | 16ms | 456kb | Incorect | 0 |
12 | 20ms | 484kb | Incorect | 0 |
13 | 84ms | 804kb | Incorect | 0 |
14 | 52ms | 652kb | Incorect | 0 |
15 | 60ms | 700kb | Incorect | 0 |
16 | 68ms | 748kb | OK | 5 |
17 | Depăşit | 2320kb | Time limit exceeded. | 0 |
18 | 180ms | 1316kb | Incorect | 0 |
19 | Depăşit | 2476kb | Time limit exceeded. | 0 |
20 | 260ms | 1588kb | Incorect | 0 |
Punctaj total | 20 |