Pagini recente » Borderou de evaluare (job #2307359) | Borderou de evaluare (job #1729755) | Borderou de evaluare (job #1660299)
Borderou de evaluare (job #1660299)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:12: warning: unused variable ‘pg’ [-Wunused-variable]
int k, pg, add, g, b, a, c, n, t, ind, take, sum;
^
user.cpp:23:12: warning: unused variable ‘pv’ [-Wunused-variable]
double pv, best;
^
user.cpp:24:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &t);
^
user.cpp:26:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &n, &g);
^
user.cpp:30:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d %d", &a, &b, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 484kb | Raspuns gresit | 0 |
Punctaj total | 0 |