Pagini recente » Borderou de evaluare (job #564619) | Borderou de evaluare (job #2408021) | Borderou de evaluare (job #2831477) | Borderou de evaluare (job #252136) | Borderou de evaluare (job #1408470)
Borderou de evaluare (job #1408470)
Raport evaluator
Compilare:
user.cpp: In function ‘bool search_value(int, int)’:
user.cpp:28:9: warning: unused variable ‘L’ [-Wunused-variable]
int L = val % MOD;
^
user.cpp: In function ‘int solve()’:
user.cpp:63:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < A[k].size(); ++j) {
^
user.cpp: In function ‘void read()’:
user.cpp:16:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &K);
^
user.cpp:18: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:95:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nk.in", "r", stdin);
^
user.cpp:96:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nk.out", "w", stdout);
^
user.cpp:99: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 | 436ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |