Pagini recente » Borderou de evaluare (job #1160508) | Borderou de evaluare (job #1999127) | Borderou de evaluare (job #2322364) | Borderou de evaluare (job #656619) | Borderou de evaluare (job #1254182)
Borderou de evaluare (job #1254182)
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 makeTree()’:
user.cpp:75: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:116: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:117: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:119: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:121: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:129: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 | 720kb | OK | 10 |
2 | 0ms | 728kb | OK | 10 |
3 | 4ms | 872kb | OK | 10 |
4 | 48ms | 1104kb | OK | 10 |
5 | 276ms | 1572kb | OK | 10 |
6 | Depăşit | 2112kb | Time limit exceeded. | 0 |
7 | Depăşit | 2216kb | Time limit exceeded. | 0 |
8 | Depăşit | 2892kb | Time limit exceeded. | 0 |
9 | Depăşit | 3128kb | Time limit exceeded. | 0 |
10 | 124ms | 2424kb | OK | 10 |
Punctaj total | 60 |