Pagini recente » Borderou de evaluare (job #3142534) | Borderou de evaluare (job #3273517) | Borderou de evaluare (job #1945199) | Borderou de evaluare (job #251866) | Borderou de evaluare (job #1441973)
Borderou de evaluare (job #1441973)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:77: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:82: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:120: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:121: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:124: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 | 344ms | 644kb | Gresit | 0 |
Punctaj total | 0 |