Pagini recente » Borderou de evaluare (job #977210) | Borderou de evaluare (job #3350358) | Borderou de evaluare (job #429305) | Borderou de evaluare (job #2108346) | Borderou de evaluare (job #1490868)
Borderou de evaluare (job #1490868)
Raport evaluator
Compilare:
user.cpp: In function ‘void Hadd(long int)’:
user.cpp:12:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<h[x%MOD].size();i++)
^
user.cpp: In function ‘void Hdel(long int)’:
user.cpp:20:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<h[x%MOD].size();i++)
^
user.cpp: In function ‘bool Hquery(long int)’:
user.cpp:27:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<h[x%MOD].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:47:37: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",Hquery(x));
^
user.cpp:35:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("hashuri.in","r",stdin);
^
user.cpp:36:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("hashuri.out","w",stdout);
^
user.cpp:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:41:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&t,&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 1436kb | OK | 10 | 10 |
| 2 | 0ms | 1428kb | OK | 10 | 10 |
| 3 | 0ms | 1428kb | OK | 10 | 10 |
| 4 | 60ms | 1588kb | OK | 10 | 30 |
| 5 | 68ms | 2044kb | OK | 10 |
| 6 | 92ms | 2844kb | OK | 10 |
| 7 | 212ms | 2488kb | OK | 10 | 10 |
| 8 | 408ms | 4556kb | OK | 10 | 30 |
| 9 | 836ms | 6216kb | OK | 10 |
| 10 | 840ms | 5196kb | OK | 10 |
| Punctaj total | 100 |