Pagini recente » Borderou de evaluare (job #2936324) | Borderou de evaluare (job #2877661) | Borderou de evaluare (job #1354375) | Borderou de evaluare (job #3286796) | Borderou de evaluare (job #1441839)
Borderou de evaluare (job #1441839)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:29:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:34:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:71:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FILENAME ".in", "r", stdin);
^
user.cpp:72:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FILENAME ".out", "w", stdout);
^
user.cpp:75: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 | 396ms | 456kb | Gresit | 0 |
Punctaj total | 0 |