Submission #473116

#TimeUsernameProblemLanguageResultExecution timeMemory
473116Ahmed_SolymanKošnja (COCI17_kosnja)C++14
Compilation error
0 ms0 KiB
#include <bits/stc++.h>

using namespace std;

typedef long long ll;
 
int main(){
  ll t;cin>>t;
  while(t--){
    ll n,m;cin>>n>>m;
    if(n>1)cout<<1+(2*(m-1));
    else cout<<0<<endl;
  }
}

Compilation message (stderr)

kosnja.cpp:1:10: fatal error: bits/stc++.h: No such file or directory
    1 | #include <bits/stc++.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.