Pagini recente » Borderou de evaluare (job #761570) | Borderou de evaluare (job #2130487) | Borderou de evaluare (job #613733) | Borderou de evaluare (job #248265) | Borderou de evaluare (job #2450180)
Borderou de evaluare (job #2450180)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::unordered_set<int>::size_type {aka long unsigned int}' [-Wformat=]
if(t==3) printf("%d\n",s.count(x));
^
main.cpp:9:40: 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);
^
main.cpp:10:42: 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);
^
main.cpp:13:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:19:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&t,&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 10 | 10 |
| 2 | 2ms | 131kb | OK | 10 | 10 |
| 3 | 2ms | 131kb | OK | 10 | 10 |
| 4 | 73ms | 1179kb | OK | 10 | 30 |
| 5 | 94ms | 1835kb | OK | 10 |
| 6 | 112ms | 4456kb | OK | 10 |
| 7 | 261ms | 6160kb | OK | 10 | 10 |
| 8 | 515ms | 17301kb | OK | 10 | 30 |
| 9 | 973ms | 30539kb | OK | 10 |
| 10 | 943ms | 25559kb | OK | 10 |
| Punctaj total | 100 |