Pagini recente » Borderou de evaluare (job #2144103) | Borderou de evaluare (job #1189277) | Borderou de evaluare (job #1796398) | Borderou de evaluare (job #1159568) | Borderou de evaluare (job #1792218)
Borderou de evaluare (job #1792218)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:80: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (Hash[dif % MOD][it] != dif && it < Hash[dif % MOD].size()) ++ it;
^
user.cpp:33:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (it == Hash[dif % MOD].size()) ++ nr_sol,Hash[dif % MOD].push_back(dif);
^
user.cpp:38:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0;j < Hash[i].size() ; ++ j)Hash[i].pop_back();
^
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("progr.in","r",stdin);
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("progr.out","w",stdout);
^
user.cpp:16:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:24:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &val[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3760kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |