Pagini recente » Borderou de evaluare (job #2932746) | Borderou de evaluare (job #79534) | Borderou de evaluare (job #2066424) | Borderou de evaluare (job #700103) | Borderou de evaluare (job #2714965)
Borderou de evaluare (job #2714965)
Raport evaluator
Compilare:
main.cpp: In function 'long int FindLca(long int, long int)':
main.cpp:58:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(euler[j].first!=y&&j<euler.size())
~^~~~~~~~~~~~~
main.cpp:68:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j<euler.size())
~^~~~~~~~~~~~~
main.cpp: In function 'void Print()':
main.cpp:93:54: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=]
fprintf(g,"%ld %ld\n",Muchii[i].x,Muchii[i].y);
^
main.cpp:93:54: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=]
main.cpp: In function 'void read()':
main.cpp:18:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld%ld",&n,&nrp);
^
main.cpp:21:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
long j;fscanf(f,"%ld",&j);
^
main.cpp: In function 'long int FindLca(long int, long int)':
main.cpp:79:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'void Rez()':
main.cpp:85:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld%ld",&x,&y);
^
main.cpp: In function 'long int FindLca(long int, long int)':
main.cpp:75:24: warning: 'tataComun' may be used uninitialized in this function [-Wmaybe-uninitialized]
return tataComun;
^~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 4ms | 131kb | OK | 10 | 10 |
3 | 274ms | 913kb | OK | 10 | 10 |
4 | 2802ms | 2334kb | Time limit exceeded | 0 | 0 |
5 | 2800ms | 2928kb | Time limit exceeded | 0 | 0 |
6 | 2800ms | 2408kb | Time limit exceeded | 0 | 0 |
7 | 2800ms | 7196kb | Time limit exceeded | 0 | 0 |
8 | 2800ms | 2875kb | Time limit exceeded | 0 | 0 |
9 | 2802ms | 2842kb | Time limit exceeded | 0 |
10 | 2800ms | 2875kb | Time limit exceeded | 0 |
Punctaj total | 30 |