Borderou de evaluare (job #1543642)

Utilizator Radu_FilipescuFilipescu Radu Radu_Filipescu Data 6 decembrie 2015 11:26:25
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
10ms280kbIncorect0
20ms272kbIncorect0
30ms276kbIncorect0
40ms284kbIncorect0
50ms284kbIncorect0
68ms352kbIncorect0
784ms1056kbIncorect0
884ms1056kbIncorect0
984ms1052kbIncorect0
1084ms1056kbIncorect0
Punctaj total0

Ceva nu functioneaza?