Pagini recente » Borderou de evaluare (job #375446) | Borderou de evaluare (job #1636363) | Borderou de evaluare (job #149866) | Borderou de evaluare (job #1463969) | Borderou de evaluare (job #2011685)
Borderou de evaluare (job #2011685)
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 |
1 | 260ms | 268kb | Incorect | 0 |
Punctaj total | 0 |