Pagini recente » Borderou de evaluare (job #621086) | Borderou de evaluare (job #2524734) | Borderou de evaluare (job #892974) | Borderou de evaluare (job #2207186) | Borderou de evaluare (job #1408479)
Borderou de evaluare (job #1408479)
Raport evaluator
Compilare:
user.cpp: In function ‘bool search_value(int, int)’:
user.cpp:35:9: warning: unused variable ‘L’ [-Wunused-variable]
int L = val % MOD;
^
user.cpp: In function ‘int solve()’:
user.cpp:70: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:23: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:25: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:102: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:103: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:106: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 | 688ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |