Pagini recente » Borderou de evaluare (job #728834) | Borderou de evaluare (job #538546) | Borderou de evaluare (job #2107860) | Borderou de evaluare (job #823635) | Borderou de evaluare (job #1549140)
Borderou de evaluare (job #1549140)
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 | OK | 100 |
Punctaj total | 100 |