Borderou de evaluare (job #1343519)

Utilizator TrixerAdrian Dinu Trixer Data 15 februarie 2015 16:08:11
Problema Convertor Status done
Runda rosedu_cdl_2015 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void goto_next1(char, int&)’: user.cpp:12:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (x = getc(stdin)) ^ user.cpp: In function ‘void goto_next2(char, int&)’: user.cpp:23:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (x = getc(stdin)) ^ user.cpp: In function ‘void read_value1(char*, char)’: user.cpp:37:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (x = getc(stdin)) ^ user.cpp: In function ‘void read_value2(char*, char, int&)’: user.cpp:52:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (x = getc(stdin)) ^ user.cpp:62:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", aux); ^ user.cpp: In function ‘int main()’: user.cpp:89:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("convertor.in", "r", stdin); ^ user.cpp:90:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("convertor.out", "w", stdout); ^ user.cpp:108:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("convertor.in", "r", stdin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms396kbOK10
20ms396kbOK10
30ms392kbOK10
40ms420kbOK10
50ms420kbOK10
60ms424kbOK10
70ms416kbOK10
844ms428kbOK10
924ms420kbOK10
1028ms428kbOK10
Punctaj total100

Ceva nu functioneaza?