Pagini recente » Borderou de evaluare (job #2013108) | Borderou de evaluare (job #231684) | Borderou de evaluare (job #2270931) | Cod sursa (job #3211203) | Borderou de evaluare (job #2024137)
Borderou de evaluare (job #2024137)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve(int)’:
user.cpp:19:21: warning: unused variable ‘hash2’ [-Wunused-variable]
int hash1=0,hash2=0,p1=1,p2=1;
^
user.cpp:19:34: warning: unused variable ‘p2’ [-Wunused-variable]
int hash1=0,hash2=0,p1=1,p2=1;
^
user.cpp: In function ‘int main()’:
user.cpp:45: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:46: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:48:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:51:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir[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:51: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/cceXlqxb.o: In function `main':
user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 5 |
2 | 0ms | 288kb | OK | 5 |
3 | 0ms | 296kb | OK | 5 |
4 | 0ms | 292kb | OK | 5 |
5 | 0ms | 300kb | OK | 5 |
6 | 0ms | 296kb | OK | 5 |
7 | 4ms | 328kb | Incorect | 0 |
8 | 4ms | 328kb | Incorect | 0 |
9 | 12ms | 392kb | OK | 5 |
10 | 16ms | 400kb | OK | 5 |
11 | 16ms | 400kb | OK | 5 |
12 | 8ms | 360kb | Incorect | 0 |
13 | 12ms | 408kb | Incorect | 0 |
14 | 4ms | 380kb | Incorect | 0 |
15 | 12ms | 376kb | Incorect | 0 |
16 | 56ms | 588kb | Incorect | 0 |
17 | Depăşit | 1640kb | Time limit exceeded. | 0 |
18 | 28ms | 648kb | Incorect | 0 |
19 | 136ms | 888kb | Incorect | 0 |
20 | 28ms | 724kb | Incorect | 0 |
Punctaj total | 45 |