Pagini recente » Borderou de evaluare (job #2243094) | Borderou de evaluare (job #2961765) | Borderou de evaluare (job #2136982) | Borderou de evaluare (job #2459308) | Borderou de evaluare (job #1254212)
Borderou de evaluare (job #1254212)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(long int)’:
user.cpp:56:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long i=0;i<list[nod].size();i++){
^
user.cpp: In function ‘void precalcLCA()’:
user.cpp:67:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long j=0;j<nodes.size();j++)
^
user.cpp: In function ‘void precalcPay()’:
user.cpp:73:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long j=0;j<nodes.size();j++)
^
user.cpp: In function ‘void makeTree()’:
user.cpp:81:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<G.size();i++){
^
user.cpp: In function ‘int main()’:
user.cpp:123:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radiatie.in","r",stdin);
^
user.cpp:124:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radiatie.out","w",stdout);
^
user.cpp:126:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld",&n,&m,&t);
^
user.cpp:128:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld",&tmp.n1,&tmp.n2,&tmp.cost);
^
user.cpp:136:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 772kb | OK | 10 |
2 | 0ms | 792kb | OK | 10 |
3 | 4ms | 976kb | OK | 10 |
4 | 16ms | 1332kb | OK | 10 |
5 | 32ms | 1932kb | OK | 10 |
6 | 40ms | 2604kb | OK | 10 |
7 | 40ms | 2616kb | OK | 10 |
8 | 52ms | 3636kb | OK | 10 |
9 | 64ms | 3736kb | OK | 10 |
10 | 68ms | 3464kb | OK | 10 |
Punctaj total | 100 |