Pagini recente » Borderou de evaluare (job #1294115) | Borderou de evaluare (job #1606357) | Borderou de evaluare (job #2710095) | Borderou de evaluare (job #1301932) | Borderou de evaluare (job #1549120)
Borderou de evaluare (job #1549120)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:15:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N[i - 1], &H[i - 1]);
^
user.cpp: In function ‘int main()’:
user.cpp:55:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calatorie.in" ,"r", stdin);
^
user.cpp:56:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calatorie.out", "w", stdout);
^
user.cpp:57:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 48ms | 476kb | Incorect | 0 |
Punctaj total | 0 |