Borderou de evaluare (job #2011685)

Utilizator DruffbaumPopescu Vlad Druffbaum Data 16 august 2017 21:37:45
Problema Por Costel si Azerah Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:68: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout, "%d\n", (((long long)(1 << (n - 1)) - 1)) % MOD); ^ user.cpp:23:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout, "%d\n", ((long long)(1 << n) - 1) % MOD); ^ user.cpp:9:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &t); ^ user.cpp:12:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^ user.cpp:15:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1260ms268kbIncorect0
Punctaj total0

Ceva nu functioneaza?