Borderou de evaluare (job #1892737)

Utilizator Aquaryus0Alexandru Benchea Aquaryus0 Data 25 februarie 2017 11:20:44
Problema Algoritmul lui Euclid extins Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read(long int&, long int&, long int&, long int)’: user.cpp:31:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d", &t); ^ user.cpp:34:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d %d %d", &x, &y, &c); ^ user.cpp:34:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:34:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp: In function ‘long int cmmdc(long int, long int)’: user.cpp:11:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘void read(long int&, long int&, long int&, long int)’: user.cpp:31:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:34:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &x, &y, &c); ^ user.cpp: In function ‘int main()’: user.cpp:49:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("euclid3.in", "r", stdin); ^ user.cpp:52:19: warning: ‘c’ is used uninitialized in this function [-Wuninitialized] read(t,x,y, c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms428kbMissing output file!00
20ms428kbMissing output file!0
30ms428kbMissing output file!0
40ms424kbMissing output file!00
50ms428kbMissing output file!00
60ms424kbMissing output file!00
70ms424kbMissing output file!00
80ms428kbMissing output file!00
90ms428kbMissing output file!00
100ms428kbMissing output file!0
Punctaj total0

Ceva nu functioneaza?