Pagini recente » Borderou de evaluare (job #1739934) | Borderou de evaluare (job #2000186) | Borderou de evaluare (job #800525) | Borderou de evaluare (job #1898110) | Borderou de evaluare (job #1549100)
Borderou de evaluare (job #1549100)
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:50: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:51: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:52: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 | 0ms | 280kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |