Borderou de evaluare (job #2445051)

Utilizator Vaida_Radu_AndreiVaida Radu Andrei Vaida_Radu_Andrei Data 2 august 2019 12:41:50
Problema Euclid1 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'long long int calc(long long int, long long int, long long int, long long int)': main.cpp:76:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!(sp&1)) ^~ main.cpp:78:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' return sol; ^~~~~~ main.cpp: In function 'void play()': main.cpp:105:22: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=] scanf("%lld",&cas); ^ main.cpp: In function 'void af()': main.cpp:116:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%3d",v[i]); ^ main.cpp: In function 'void update()': main.cpp:49:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&l[i]),--l[i]; ^ main.cpp:50:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&k); ^ main.cpp: In function 'void display()': main.cpp:90:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&l[i]),--l[i]; ^ main.cpp: In function 'void cit(long long int&)': main.cpp:97:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld",&n,&q); ^ main.cpp:100:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&v[i]); ^ main.cpp: In function 'void play()': main.cpp:105:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&cas); ^ main.cpp: In function 'int main()': main.cpp:121:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("euclid1.in","r",stdin); ^ main.cpp:122:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("euclid1.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbKilled by Signal 110
23ms131kbKilled by Signal 110
313ms393kbKilled by Signal 110
418ms655kbKilled by Signal 110
527ms524kbKilled by Signal 110
622ms1179kbKilled by Signal 110
731ms1048kbKilled by Signal 110
832ms786kbKilled by Signal 110
939ms917kbKilled by Signal 110
1039ms1310kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?