Pagini recente » Borderou de evaluare (job #997202) | Borderou de evaluare (job #2318496) | Borderou de evaluare (job #1991483) | Borderou de evaluare (job #1880208) | Borderou de evaluare (job #1796451)
Borderou de evaluare (job #1796451)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:190:32: warning: statement has no effect [-Wunused-value]
ok == false;
^
user.cpp:195:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(ok = true)
^
user.cpp: In function ‘void citire()’:
user.cpp:256:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:260:35: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(expresie, 60, stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:272:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresii.in", "r", stdin);
^
user.cpp:273:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresii.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 456kb | Incorect | 0 |
Punctaj total | 0 |