Pagini recente » Borderou de evaluare (job #2647597) | Borderou de evaluare (job #218429) | Borderou de evaluare (job #3004085) | Borderou de evaluare (job #2666845) | Borderou de evaluare (job #2629980)
Borderou de evaluare (job #2629980)
Raport evaluator
Compilare:
main.cpp: In function 'bool valid(int)':
main.cpp:28:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(a[T[k]][T[k-1]]==0)//testez daca 2orase selectate sunt vecine, au traseu
^~
main.cpp:30:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if((k==n)&&(a[T[k]][T[1]]==0)) //testez daca primul oras este ≠ de ult.
^~
main.cpp:32:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<k;i++)if(T[k]==T[i])//testez sa nu vizit. orasul de mai multe ori
^~
main.cpp:33:10: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
return 0;return 1;}
^~~~~~
main.cpp: In function 'void afisare()':
main.cpp:39:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
{for (i=1;i<=n+1;i++) // parcurg vectorul solutie si il afisez
^~~
main.cpp:40:19: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
cout<< T[i]<<" "; printf ("\n");}
^~~~~~
main.cpp: In function 'void citire()':
main.cpp:13:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
main.cpp:17:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
{printf("\nstart ="); scanf("%d",&start);
^
main.cpp:18:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
printf(" stop ="); scanf("%d",&stop);
^
main.cpp: In function 'int main()':
main.cpp:70:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
7 | 2ms | 131kb | Failed fopen. Missing files? | 0 | 0 |
8 | 2ms | 131kb | Failed fopen. Missing files? | 0 |
9 | 2ms | 131kb | Failed fopen. Missing files? | 0 |
10 | 2ms | 131kb | Failed fopen. Missing files? | 0 |
1 | 2ms | 131kb | Failed fopen. Missing files? | 0 | 0 |
2 | 2ms | 131kb | Failed fopen. Missing files? | 0 |
3 | 2ms | 131kb | Failed fopen. Missing files? | 0 |
4 | 2ms | 131kb | Failed fopen. Missing files? | 0 | 0 |
5 | 2ms | 131kb | Failed fopen. Missing files? | 0 |
6 | 2ms | 131kb | Failed fopen. Missing files? | 0 |
Punctaj total | 0 |