Pagini recente » Borderou de evaluare (job #2842233) | Borderou de evaluare (job #3243858) | Borderou de evaluare (job #557778) | Borderou de evaluare (job #1943557) | Borderou de evaluare (job #2588393)
Borderou de evaluare (job #2588393)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:37:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n",divs.size());
^
main.cpp:38:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<divs.size();i++) printf("%d ",divs[i]);
~^~~~~~~~~~~~
main.cpp:47:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d",(1LL*c1*c2)%mod);
^
main.cpp:22:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("vampir.in","r",stdin);
^
main.cpp:23:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("vampir.out","w",stdout);
^
main.cpp:25:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&p,&l);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 20 |
2 | 3ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 | 10 |
4 | 2ms | 131kb | OK | 10 | 10 |
5 | 2ms | 131kb | OK | 10 | 10 |
6 | 2ms | 131kb | OK | 10 | 20 |
7 | 127ms | 131kb | OK | 10 |
8 | 111ms | 131kb | OK | 10 | 10 |
9 | 139ms | 131kb | OK | 10 | 10 |
10 | 98ms | 131kb | OK | 10 | 10 |
Punctaj total | 100 |