Borderou de evaluare (job #1959433)
Raport evaluator
Compilare:
user.cpp: In function ‘int DFS(int)’:
user.cpp:27:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<T[node].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:57:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(IN,"%d",&Cost[i]);
^
user.cpp:63:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(OUT,"%d\n",2*EdgeCost+NodeCost-Cost[Nodes[0]]);
^
user.cpp:48:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d%d",&N,&M);
^
user.cpp:52:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d%d%d",&X,&Y,&Z);
^
user.cpp:57:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d",&Cost[i]);
^
user.cpp:59:54: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d",&Spec[i]),IsSpec[Spec[i]]=true;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1468kb | OK | 5 |
2 | 0ms | 1484kb | OK | 5 |
3 | 0ms | 1484kb | OK | 5 |
4 | 0ms | 1504kb | OK | 5 |
5 | 0ms | 1516kb | OK | 5 |
6 | 0ms | 1516kb | OK | 5 |
7 | 8ms | 1696kb | OK | 5 |
8 | 8ms | 1712kb | OK | 5 |
9 | 12ms | 1940kb | OK | 5 |
10 | 16ms | 1952kb | OK | 5 |
11 | 28ms | 2360kb | OK | 5 |
12 | 44ms | 2828kb | OK | 5 |
13 | 56ms | 3256kb | OK | 5 |
14 | 72ms | 3568kb | Incorect | 0 |
15 | 116ms | 5040kb | Incorect | 0 |
16 | 124ms | 5280kb | Incorect | 0 |
17 | 132ms | 5424kb | Incorect | 0 |
18 | 148ms | 5912kb | Incorect | 0 |
19 | 160ms | 5992kb | Incorect | 0 |
20 | 164ms | 6236kb | Incorect | 0 |
Punctaj total | 65 |