Pagini recente » Borderou de evaluare (job #2977980) | Borderou de evaluare (job #2274002) | Borderou de evaluare (job #1926219) | Borderou de evaluare (job #895927) | Borderou de evaluare (job #2285874)
Borderou de evaluare (job #2285874)
Raport evaluator
Compilare:
main.cpp: In function 'void DFS(int)':
main.cpp:79:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < vecin[ns].size(); ++i)
~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:125:27: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[6]' [-Wformat=]
fscanf(fin,"%s",&s);
^
main.cpp:133:62: warning: array subscript has type 'char' [-Wchar-subscripts]
v[i].cost += (int)(pow(5,j) + 0.5) * energie[s[j]];
^
main.cpp:149:21: warning: unused variable 'cnt' [-Wunused-variable]
int sum = 0,cnt = 0,nr = 0;
^~~
main.cpp:118:37: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d %d",&tt,&n,&m);
^
main.cpp:123:49: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&v[i].nod1,&v[i].nod2);
^
main.cpp:125:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%s",&s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 3145kb | Corect! | 2 |
2 | 43ms | 4194kb | Corect! | 2 |
3 | 55ms | 5767kb | Corect! | 2 |
4 | 8ms | 3145kb | Corect! | 2 |
5 | 9ms | 3145kb | Corect! | 2 |
6 | 51ms | 4718kb | Corect! | 2 |
7 | 9ms | 3145kb | Corect! | 2 |
8 | 49ms | 4976kb | Corect! | 2 |
9 | 43ms | 4194kb | Corect! | 2 |
10 | 53ms | 4718kb | Corect! | 2 |
11 | 8ms | 3145kb | Corect | 4 |
12 | 47ms | 4194kb | Corect | 4 |
13 | 66ms | 5767kb | Corect | 4 |
14 | 8ms | 3145kb | Corect | 4 |
15 | 9ms | 3145kb | Corect | 4 |
16 | 70ms | 5767kb | Corect | 4 |
17 | 9ms | 3145kb | Corect | 4 |
18 | 65ms | 6287kb | Corect | 4 |
19 | 49ms | 4194kb | Corect | 4 |
20 | 69ms | 5767kb | Corect | 4 |
21 | 8ms | 3145kb | Corect! | 3 |
22 | 200ms | 4325kb | Time limit exceeded | 0 |
23 | 203ms | 4718kb | Time limit exceeded | 0 |
24 | 8ms | 3145kb | Corect! | 3 |
25 | 9ms | 3145kb | Corect! | 3 |
26 | 203ms | 4718kb | Time limit exceeded | 0 |
27 | 8ms | 3145kb | Corect! | 3 |
28 | 203ms | 5107kb | Time limit exceeded | 0 |
29 | 200ms | 4194kb | Time limit exceeded | 0 |
30 | 203ms | 4718kb | Time limit exceeded | 0 |
31 | 8ms | 3145kb | Corect! (Exemplu) | 10 |
Punctaj total | 82 |