Borderou de evaluare (job #2629980)

Utilizator marianaivan2000marianaivan marianaivan2000 Data 23 iunie 2020 16:38:13
Problema A+B Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

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
72ms131kbFailed fopen. Missing files?00
82ms131kbFailed fopen. Missing files?0
92ms131kbFailed fopen. Missing files?0
102ms131kbFailed fopen. Missing files?0
12ms131kbFailed fopen. Missing files?00
22ms131kbFailed fopen. Missing files?0
32ms131kbFailed fopen. Missing files?0
42ms131kbFailed fopen. Missing files?00
52ms131kbFailed fopen. Missing files?0
62ms131kbFailed fopen. Missing files?0
Punctaj total0

Ceva nu functioneaza?