Submission #866273

# Submission time Handle Problem Language Result Execution time Memory
866273 2023-10-25T17:00:23 Z lomta Cluedo (IOI10_cluedo) C++17
Compilation error
0 ms 0 KB
#include "grader.h"
#include "cluedo.h"
#include <bits/stdc++.h>
using namepsace std;

void Solve(){
	int a=1,b=1,c=1;
	
   int r=1;
   while(r!=0){
   		r = Theory(a,b,c);
   		if(r==1){
   			a++;
		}
		if(r==2){
			b++;
		}
		if(r==3){
			c++;
		}
   }
   if(r==0){
   		return;
   }
  	return;
}

Compilation message

cluedo.cpp:4:7: error: expected nested-name-specifier before 'namepsace'
    4 | using namepsace std;
      |       ^~~~~~~~~