Borderou de evaluare (job #1543522)

Utilizator Radu_FilipescuFilipescu Radu Radu_Filipescu Data 6 decembrie 2015 11:10:19
Problema KBetray Status done
Runda Algoritmiada 2016 - Runda 1, Juniori Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=1; i<=k; i++) if(maxim[i]<minim[n-i+1] && k<=aux) swap(maxim[i],minim[n-i+1]); ^ user.cpp:33:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] fprintf(g,"%d",sum); ^ user.cpp:16:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&n,&k); ^ user.cpp:18:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] { fscanf(f,"%d%d",&x,&y); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbIncorect0
20ms276kbIncorect0
30ms276kbIncorect0
40ms288kbIncorect0
50ms284kbIncorect0
68ms356kbIncorect0
728ms632kbKilled by signal 11(SIGSEGV).0
832ms636kbKilled by signal 11(SIGSEGV).0
928ms640kbKilled by signal 11(SIGSEGV).0
1028ms636kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?