Pagini recente » Borderou de evaluare (job #3270854) | Borderou de evaluare (job #1183473) | Borderou de evaluare (job #3117817) | Borderou de evaluare (job #710404) | Borderou de evaluare (job #2247864)
Borderou de evaluare (job #2247864)
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 |