Pagini recente » Borderou de evaluare (job #91346) | Borderou de evaluare (job #3129000) | Borderou de evaluare (job #2151953) | Borderou de evaluare (job #2197443) | Borderou de evaluare (job #1212678)
Borderou de evaluare (job #1212678)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(std::vector<int>)’:
user.cpp:56:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ans>A.size()/2)
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:134:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (cheii[*i].size()>MAX)
^
user.cpp: In function ‘int main()’:
user.cpp:168:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("egal.in","r",stdin);
^
user.cpp:169:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("egal.out","w",stdout);
^
user.cpp:171:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:175:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&X,&Y);
^
user.cpp:180:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:181:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
/tmp/ccDpeZ5y.o: In function `main':
user.cpp:(.text.startup+0x128): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 2636kb | OK | 5 | 5 |
2 | 0ms | 2640kb | OK | 5 | 5 |
3 | 0ms | 2632kb | OK | 5 | 5 |
4 | 0ms | 2632kb | OK | 5 | 5 |
5 | 4ms | 2768kb | OK | 5 | 5 |
6 | 4ms | 2772kb | OK | 5 | 5 |
7 | 4ms | 2788kb | OK | 5 | 5 |
8 | 4ms | 2744kb | OK | 5 | 5 |
9 | 436ms | 29892kb | OK | 5 | 20 |
10 | 436ms | 15764kb | OK | 5 |
11 | 372ms | 20672kb | OK | 5 |
12 | 344ms | 12404kb | OK | 5 |
13 | 400ms | 18700kb | OK | 5 | 0 |
14 | 416ms | 14716kb | OK | 5 |
16 | Depăşit | 7204kb | Time limit exceeded. | 0 |
17 | 452ms | 21736kb | OK | 5 |
15 | 152ms | Depăşit | Memory limit exceeded. | 0 | 0 |
18 | 508ms | 15920kb | OK | 5 |
19 | 484ms | 28056kb | OK | 5 |
20 | 452ms | 22076kb | OK | 5 |
Punctaj total | 60 |