Borderou de evaluare (job #1383397)

Utilizator TarabanDragosTaraban Dragos-Petru TarabanDragos Data 10 martie 2015 10:02:56
Problema Tarabe Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int verif(long long int)’: user.cpp:18:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(nr>=k) ^ user.cpp: In function ‘int main()’: user.cpp:25:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long unsigned int*’ [-Wformat=] fscanf(f,"%d%d",&n,&k); ^ user.cpp:30:17: warning: integer overflow in expression [-Woverflow] u=(1LL<<63)-1; ^ user.cpp:25: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:27:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&v[i].b,&v[i].a); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms276kbOK10
352ms392kbOK10
4216ms740kbOK10
5284ms900kbOK10
6356ms1048kbOK10
7Depăşit1800kbTime limit exceeded.0
8728ms1828kbIncorect0
9Depăşit1804kbTime limit exceeded.0
10Depăşit1800kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?