Borderou de evaluare (job #1285712)

Utilizator dobrebogdanDobre Bogdan Mihai dobrebogdan Data 7 decembrie 2014 11:24:20
Problema Perioada01 Status done
Runda Algoritmiada 2015 - Runda 1, Seniori Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:7:26: warning: unused variable ‘p1’ [-Wunused-variable] long long n,pe,nr,np,p1,p,i,j; ^ user.cpp:7:33: warning: unused variable ‘j’ [-Wunused-variable] long long n,pe,nr,np,p1,p,i,j; ^ user.cpp:5:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("perioada01.in","r",stdin); ^ user.cpp:6:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("perioada01.out","w",stdout); ^ user.cpp:8:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&n); ^ user.cpp:9:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&p); ^ user.cpp:11:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&v1[i]); ^ user.cpp:30:5: warning: ‘pe’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(pe!=n) ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms292kbOK1020
20ms272kbOK10
30ms252kbOK1020
40ms276kbOK10
528ms924kbOK1020
628ms904kbOK10
7252ms5904kbOK1040
8252ms5900kbOK10
9252ms5904kbOK10
10896ms5884kbOK10
Punctaj total100

Ceva nu functioneaza?