Pagini recente » Borderou de evaluare (job #592017) | Borderou de evaluare (job #1144248) | Borderou de evaluare (job #1102617) | Borderou de evaluare (job #1737224) | Borderou de evaluare (job #1792234)
Borderou de evaluare (job #1792234)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (t < Hash[dif % MOD].size() && Hash[dif % MOD][it] != dif) ++ 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: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 | 168ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |