Pagini recente » Borderou de evaluare (job #912908) | Borderou de evaluare (job #443428) | Borderou de evaluare (job #1501184) | Borderou de evaluare (job #952434) | Borderou de evaluare (job #1212693)
Borderou de evaluare (job #1212693)
Raport evaluator
Compilare:
user.cpp: In function ‘std::pair<int, int> solve(std::vector<int>)’:
user.cpp:57: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:128:16: warning: unused variable ‘MAX’ [-Wunused-variable]
int sons=0,MAX=0,indice=0;
^
user.cpp:128:22: warning: unused variable ‘indice’ [-Wunused-variable]
int sons=0,MAX=0,indice=0;
^
user.cpp: In function ‘int main()’:
user.cpp:157: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:158: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:160:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:164: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:169:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:170:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
/tmp/ccmAdPN9.o: In function `main':
user.cpp:(.text.startup+0x11c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 3444kb | OK | 5 | 5 |
2 | 4ms | 3436kb | OK | 5 | 5 |
3 | 4ms | 3436kb | OK | 5 | 5 |
4 | 4ms | 3440kb | OK | 5 | 5 |
5 | 4ms | 3556kb | OK | 5 | 5 |
6 | 8ms | 3568kb | OK | 5 | 5 |
7 | 8ms | 3584kb | OK | 5 | 5 |
8 | 4ms | 3540kb | OK | 5 | 5 |
9 | 424ms | 30660kb | OK | 5 | 20 |
10 | 436ms | 16276kb | OK | 5 |
11 | 360ms | 21516kb | OK | 5 |
12 | 352ms | 13136kb | OK | 5 |
13 | 396ms | 19496kb | OK | 5 | 0 |
14 | 424ms | 15432kb | OK | 5 |
16 | Depăşit | 8044kb | Time limit exceeded. | 0 |
17 | 452ms | 22504kb | OK | 5 |
15 | 100ms | 14612kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
18 | 516ms | 16592kb | OK | 5 |
19 | 480ms | 28824kb | OK | 5 |
20 | 448ms | 22512kb | OK | 5 |
Punctaj total | 60 |