Pagini recente » Borderou de evaluare (job #207528) | Borderou de evaluare (job #1381603) | Borderou de evaluare (job #75798) | Borderou de evaluare (job #2916692) | Borderou de evaluare (job #2517470)
Borderou de evaluare (job #2517470)
Raport evaluator
Compilare:
main.cpp: In function 'void print(long long int, std::vector<long long int>)':
main.cpp:25:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d %d\n", l, r);
^
main.cpp:25:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
main.cpp: In function 'int32_t main()':
main.cpp:34:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d", &t);
^
main.cpp:38:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d", &n);
^
main.cpp:50:67: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n", (long long) sol.size() + (long long) rev.size());
^
main.cpp:30:41: 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);
^
main.cpp:31:43: 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);
^
main.cpp:34:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
main.cpp:38:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 23ms | 131kb | OK | 100 |
Punctaj total | 100 |