Pagini recente » Borderou de evaluare (job #2978617) | Borderou de evaluare (job #3288195) | Borderou de evaluare (job #3229621) | Borderou de evaluare (job #3180921) | Borderou de evaluare (job #1441852)
Borderou de evaluare (job #1441852)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:63:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);
^
user.cpp:68:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:102:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nucleulvaloros.in", "r", stdin);
^
user.cpp:103:47: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nucleulvaloros.out", "w", stdout);
^
user.cpp:106:19: 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 | 292ms | 644kb | Gresit | 0 |
Punctaj total | 0 |