Borderou de evaluare (job #2350722)

Utilizator MatteoalexandruMatteo Verzotti Matteoalexandru Data 21 februarie 2019 17:48:34
Problema Cifre4 Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:15:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d",&t); ^ main.cpp:18:27: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d%d",&n,&p); ^ main.cpp:18:27: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] main.cpp:30:40: warning: format '%d' expects argument of type 'int', but argument 2 has type '__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}' [-Wformat=] printf("%d\n",q.front()); ^ main.cpp:11:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cifre4.in","r",stdin); ^ main.cpp:12:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cifre4.out","w",stdout); ^ main.cpp:15:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ main.cpp:18:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12335ms75542kbIncorect0
Punctaj total0

Ceva nu functioneaza?