Pagini recente » Borderou de evaluare (job #2919825) | Borderou de evaluare (job #2319486) | Borderou de evaluare (job #411383) | Borderou de evaluare (job #23007) | Borderou de evaluare (job #2247947)
Borderou de evaluare (job #2247947)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:30:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d.%d", &x, &y);
^
user.cpp: In function ‘int main()’:
user.cpp:45:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("unter.in", "r", stdin);
^
user.cpp:46:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("unter.out", "w", stdout);
^
user.cpp:48:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d", &t); t; --t) {
^
user.cpp:49:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &d);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1312kb | Incorect | 0 |
Punctaj total | 0 |