Borderou de evaluare (job #1764218)

Utilizator AnaRaduAna-Maria Radu AnaRadu Data 25 septembrie 2016 11:23:38
Problema Secventa 5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:64:41: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 4 has type ‘int*’ [-Wformat=] fscanf(fin,"%lld%lld%lld",&n,&st,&dr); ^ user.cpp:64:41: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp:66:30: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%u",&v[i]); ^ user.cpp:64:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%lld%lld%lld",&n,&st,&dr); ^ user.cpp:66:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%u",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbKilled by signal 11(SIGSEGV).0
20ms360kbKilled by signal 11(SIGSEGV).0
34ms768kbKilled by signal 11(SIGSEGV).0
424ms2856kbKilled by signal 11(SIGSEGV).0
528ms1056kbKilled by signal 11(SIGSEGV).0
688ms7348kbKilled by signal 11(SIGSEGV).0
7212ms5524kbKilled by signal 11(SIGSEGV).0
8256ms7476kbKilled by signal 11(SIGSEGV).0
9320ms13440kbKilled by signal 11(SIGSEGV).0
101460ms28920kbOK10
Punctaj total10

Ceva nu functioneaza?