Borderou de evaluare (job #1407825)

Utilizator AlexRazvanBogdanPetrescu Harsan Cretu AlexRazvanBogdan Data 29 martie 2015 19:33:23
Problema Tempest Status done
Runda ONIS 2015, Runda 2 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void dijkstra()’: user.cpp:25:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( int i=0;i<v[x.x].size();++i ){ ^ user.cpp: In function ‘int main()’: user.cpp:47:45: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(f,"%lld%lld%lld",&a,&b,&c); ^ user.cpp:47:45: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:47:45: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp:39:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&t); ^ user.cpp:43:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d%d%d",&n,&m,&s,&dest); ^ user.cpp:47:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld%lld%lld",&a,&b,&c); ^ user.cpp:54:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&drum); ^ user.cpp:58:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&muchie); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13324ms28860kbOK100
Punctaj total100

Ceva nu functioneaza?