Borderou de evaluare (job #2229650)

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

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
10ms796kbPrimul numar corect1
20ms796kbPrimul numar corect1
30ms756kbPrimul numar corect1
40ms868kbOK5
50ms796kbOK5
60ms884kbPrimul numar corect1
712ms3064kbOK5
80ms816kbPrimul numar corect1
90ms864kbPrimul numar corect1
100ms808kbOK5
118ms768kbOK5
128ms860kbPrimul numar corect1
134ms796kbPrimul numar corect1
140ms876kbOK5
158ms888kbOK5
168ms972kbOK5
178ms936kbPrimul numar corect1
1812ms1352kbPrimul numar corect1
198ms860kbPrimul numar corect1
208ms804kbPrimul numar corect1
Punctaj total52

Ceva nu functioneaza?