Pagini recente » Borderou de evaluare (job #995589) | Borderou de evaluare (job #3159647) | Borderou de evaluare (job #2074356) | Borderou de evaluare (job #1121441) | Borderou de evaluare (job #2376394)
Borderou de evaluare (job #2376394)
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:82: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 | 3ms | 524kb | Incorect | 0 |
| 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 | Incorect | 0 |
| 8 | 4ms | 786kb | Incorect | 0 |
| 9 | 4ms | 786kb | Incorect | 0 |
| 10 | 4ms | 786kb | Incorect | 0 |
| 11 | 24ms | 4587kb | Incorect | 0 |
| 12 | 24ms | 4587kb | OK | 5 |
| 13 | 24ms | 4587kb | Incorect | 0 |
| 14 | 11ms | 4751kb | Memory limit exceeded | 0 |
| 15 | 10ms | 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 | 9ms | 4751kb | Memory limit exceeded | 0 |
| Punctaj total | 10 |