답안 #866273

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
866273 2023-10-25T17:00:23 Z lomta Cluedo (IOI10_cluedo) C++17
컴파일 오류
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;
      |       ^~~~~~~~~