Borderou de evaluare (job #2229649)

Utilizator Robert_VRVRobert Vadastreanu Robert_VRV Data 7 august 2018 18:18:11
Problema Expresie2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 44

Raport evaluator

Compilare: user.cpp: In function ‘void read_number(int&, char&)’: user.cpp:16:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ user.cpp:19:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ user.cpp: In function ‘int read1()’: user.cpp:26:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ user.cpp:35:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ user.cpp:56:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ user.cpp: In function ‘int read2()’: user.cpp:63:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ user.cpp:70:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ user.cpp:90:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ user.cpp: In function ‘int main()’: user.cpp:101:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("expresie2.in", "r", stdin); ^ user.cpp:102:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("expresie2.out", "w", stdout); ^ user.cpp:105:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ user.cpp:117:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms752kbPrimul numar corect1
20ms932kbPrimul numar corect1
30ms796kbPrimul numar corect1
40ms800kbPrimul numar corect1
50ms752kbOK5
60ms884kbPrimul numar corect1
712ms3064kbOK5
80ms812kbPrimul numar corect1
90ms804kbPrimul numar corect1
100ms756kbOK5
118ms772kbPrimul numar corect1
128ms756kbPrimul numar corect1
134ms792kbPrimul numar corect1
140ms808kbOK5
158ms892kbOK5
168ms972kbOK5
178ms928kbPrimul numar corect1
1812ms1352kbPrimul numar corect1
198ms876kbPrimul numar corect1
208ms932kbPrimul numar corect1
Punctaj total44

Ceva nu functioneaza?