Pagini recente » Borderou de evaluare (job #2911141) | Borderou de evaluare (job #2968556) | Borderou de evaluare (job #3261301) | Borderou de evaluare (job #1724773) | Borderou de evaluare (job #1709370)
Borderou de evaluare (job #1709370)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", sol);
^
user.cpp:18:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("consecutive.in", "r", stdin);
^
user.cpp:19:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("consecutive.out", "w", stdout);
^
user.cpp:21:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:24:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &N);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 452kb | Incorect | 0 |
Punctaj total | 0 |