Pagini recente » Borderou de evaluare (job #1933239) | Borderou de evaluare (job #2834949) | Borderou de evaluare (job #562667) | Borderou de evaluare (job #1306278) | Borderou de evaluare (job #1549112)
Borderou de evaluare (job #1549112)
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:52: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:53: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:54: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 | 480kb | Incorect | 0 |
Punctaj total | 0 |