Borderou de evaluare (job #2376382)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra()':
main.cpp:22:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<v[nod].size();i++)
~^~~~~~~~~~~~~~
main.cpp:22:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=0;i<v[nod].size();i++)
^~~
main.cpp:30:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
use[nod]=1;
^~~
main.cpp: In function 'int main()':
main.cpp:44:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=0;i<=n;i++)
^~~
main.cpp:46:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
cost[0][1]=999000;
^~~~
main.cpp:66:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;i++)
^~~
main.cpp:81:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(i=1;i<=n;i++)
^~~
main.cpp:41:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scara3.in","r",stdin);
^
main.cpp:42:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("scara3.out","w",stdout);
^
main.cpp:43:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:48:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&apa);
^
main.cpp:50:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&poz,&cnt);
^
main.cpp:60:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&ener);
^
main.cpp:62:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&poz,&cnt);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 11ms | 655kb | OK | 5 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 262kb | OK | 5 |
4 | 3ms | 393kb | Incorect | 0 |
5 | 3ms | 393kb | Incorect | 0 |
6 | 4ms | 786kb | Incorect | 0 |
7 | 4ms | 786kb | OK | 5 |
8 | 4ms | 786kb | Incorect | 0 |
9 | 4ms | 786kb | Incorect | 0 |
10 | 4ms | 786kb | OK | 5 |
11 | 24ms | 4587kb | Incorect | 0 |
12 | 24ms | 4587kb | Incorect | 0 |
13 | 24ms | 4587kb | Incorect | 0 |
14 | 12ms | 4751kb | Memory limit exceeded | 0 |
15 | 11ms | 4751kb | Memory limit exceeded | 0 |
16 | 11ms | 4751kb | Memory limit exceeded | 0 |
17 | 11ms | 4751kb | Memory limit exceeded | 0 |
18 | 11ms | 4751kb | Memory limit exceeded | 0 |
19 | 11ms | 4751kb | Memory limit exceeded | 0 |
20 | 11ms | 4751kb | Memory limit exceeded | 0 |
Punctaj total | 20 |