Borderou de evaluare (job #1262758)

Utilizator usermeBogdan Cretu userme Data 13 noiembrie 2014 15:33:49
Problema Panouri Status done
Runda laborator9d13nov Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:1:10: error: #include expects "FILENAME" or <FILENAME> #include cstdio ^ user.cpp:3:1: error: ‘FILEf’ does not name a type FILEf=fopen(panouri.in,r); ^ user.cpp:4:1: error: ‘FILEh’ does not name a type FILEh=fopen(panouri.out,w); ^ user.cpp: In function ‘int main()’: user.cpp:11:12: error: ‘f’ was not declared in this scope fscanf(f,%d%d,&n,&k); ^ user.cpp:11:14: error: expected primary-expression before ‘%’ token fscanf(f,%d%d,&n,&k); ^ user.cpp:11:15: error: ‘d’ was not declared in this scope fscanf(f,%d%d,&n,&k); ^ user.cpp:11:24: error: ‘fscanf’ was not declared in this scope fscanf(f,%d%d,&n,&k); ^ user.cpp:12:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for ( int i=1;i=n;++i ) ^ user.cpp:13:18: error: expected primary-expression before ‘%’ token fscanf(f,%d,&v[i]); ^ user.cpp:14:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for ( int i=1;i=n;++i ){ ^ user.cpp:15:18: error: expected primary-expression before ‘%’ token fscanf(f,%d,&a); ^ user.cpp:21:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for ( int i=2;i=n;++i ){ ^ user.cpp:27:32: error: ‘sti’ was not declared in this scope while ( !c[v[st]]&&sti ){++st;mod=1;} ^ user.cpp:28:30: error: expected ‘)’ before numeric constant while ( el[v[st]]1&&sti ){--el[v[st]];++st;mod=1;} ^ user.cpp:28:33: error: ‘sti’ was not declared in this scope while ( el[v[st]]1&&sti ){--el[v[st]];++st;mod=1;} ^ user.cpp:28:37: error: expected ‘;’ before ‘)’ token while ( el[v[st]]1&&sti ){--el[v[st]];++st;mod=1;} ^ user.cpp:30:22: error: ‘stmin’ was not declared in this scope

Ceva nu functioneaza?