Pagini recente » Cod sursa (job #987246) | Borderou de evaluare (job #1506244) | Borderou de evaluare (job #1655722) | Borderou de evaluare (job #2522404) | Borderou de evaluare (job #1901864)
Borderou de evaluare (job #1901864)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calatorie.in", "rt", stdin);
^
user.cpp:15:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calatorie.out", "wt", stdout);
^
user.cpp:17:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:19:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:28:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N[i], &H[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 12ms | 548kb | Incorect | 0 |
| Punctaj total | 0 |