Pagini recente » Borderou de evaluare (job #2499004) | Borderou de evaluare (job #2908528) | Borderou de evaluare (job #1359401) | Borderou de evaluare (job #275855) | Borderou de evaluare (job #1294309)
Borderou de evaluare (job #1294309)
Raport evaluator
Compilare:
user.cpp: In function ‘int query(long long int)’:
user.cpp:21:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[x].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:53:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lld\n",query(x));
^
user.cpp:45:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ciuperci.in","r",stdin);
^
user.cpp:46:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ciuperci.out","w",stdout);
^
user.cpp:47:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
^
user.cpp:50:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 268kb | OK | 10 | 10 |
2 | 0ms | 268kb | OK | 10 | 10 |
3 | 0ms | 268kb | OK | 10 | 10 |
4 | 44ms | 276kb | OK | 10 | 10 |
5 | 100ms | 276kb | OK | 10 | 10 |
6 | 128ms | 280kb | OK | 10 | 50 |
7 | 144ms | 280kb | OK | 10 |
8 | 588ms | 276kb | OK | 10 |
9 | 576ms | 276kb | OK | 10 |
10 | 836ms | 276kb | OK | 10 |
Punctaj total | 100 |