Borderou de evaluare (job #1328956)

Utilizator george_stelianChichirim George george_stelian Data 28 ianuarie 2015 21:50:17
Problema Urat Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] if(n%2) printf("%d\n",(4LL*x*k*x)%mod); ^ user.cpp:18:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] else printf("%d\n",(2LL*x*x)%mod); ^ user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("urat.in", "r", stdin); ^ user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("urat.out", "w", stdout); ^ user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbLike a boss !10
20ms264kbLike a boss !10
30ms268kbLike a boss !10
48ms388kbLike a boss !10
512ms464kbLike a boss !10
624ms656kbLike a boss !10
752ms1052kbLike a boss !10
876ms1436kbLike a boss !10
9104ms1828kbLike a boss !10
10132ms2216kbLike a boss !10
Punctaj total100

Ceva nu functioneaza?