Pagini recente » Borderou de evaluare (job #2506355) | Borderou de evaluare (job #2547334) | Borderou de evaluare (job #2952920) | Borderou de evaluare (job #661353) | Borderou de evaluare (job #1713227)
Borderou de evaluare (job #1713227)
Raport evaluator
Compilare:
user.cpp: In function ‘void write()’:
user.cpp:57:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", sol);
^
user.cpp: In function ‘void read()’:
user.cpp:18:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
user.cpp: In function ‘int main()’:
user.cpp:65: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:66: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:67:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 432kb | Time limit exceeded. | 0 |
Punctaj total | 0 |