Pagini recente » Borderou de evaluare (job #2611215) | Borderou de evaluare (job #1400976) | Borderou de evaluare (job #2898745) | Borderou de evaluare (job #1733169) | Borderou de evaluare (job #1351722)
Borderou de evaluare (job #1351722)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", solve(2, nr_pare)%MOD - 1);
^
user.cpp:43:53: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld\n", solve(2, nr_impare - 1)%MOD - 1);
^
user.cpp:49:26: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n", s%MOD);
^
user.cpp:26:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("azerah.in", "r", stdin);
^
user.cpp:27:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("azerah.out", "w", stdout);
^
user.cpp:28:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:30:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n); nr_impare = 0; nr_pare = 0;
^
user.cpp:32:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 240ms | 264kb | OK | 100 |
Punctaj total | 100 |