Borderou de evaluare (job #1220803)

Utilizator tedyy91razvan teslaru tedyy91 Data 18 august 2014 16:34:55
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:9:5: error: ‘__int8’ was not declared in this scope __int8 i , imin , imax, iamin , iamax; ^ user.cpp:9:12: error: expected ‘;’ before ‘i’ __int8 i , imin , imax, iamin , iamax; ^ user.cpp:13:5: error: ‘i’ was not declared in this scope i = 0; ^ user.cpp:14:5: error: ‘imin’ was not declared in this scope imin = 0; iamin = 0; ^ user.cpp:14:17: error: ‘iamin’ was not declared in this scope imin = 0; iamin = 0; ^ user.cpp:15:5: error: ‘imax’ was not declared in this scope imax = 0 ; iamax = 0; ^ user.cpp:15:17: error: ‘iamax’ was not declared in this scope imax = 0 ; iamax = 0; ^ user.cpp:19:46: error: ‘_wfopen_s’ was not declared in this scope _wfopen_s( &hFileIn , L"scmax.in" , L"r" ); ^ user.cpp:22:66: error: ‘wprintf’ was not declared in this scope wprintf(L"[error] could not open input file \nexiting \n"); ^ user.cpp:29:69: error: ‘wprintf’ was not declared in this scope wprintf(L"[error] could not create output file \nexiting \n"); ^ user.cpp:35:33: error: ‘fscanf_s’ was not declared in this scope fscanf_s(hFileIn , "%d" , &n); //read n from file ^ user.cpp:69:46: error: ‘fprintf_s’ was not declared in this scope fprintf_s(hFileOut , "%d\n" , imax-imin+1); ^

Ceva nu functioneaza?