Pagini recente » Borderou de evaluare (job #2792675) | Borderou de evaluare (job #2615436) | Borderou de evaluare (job #5720) | Borderou de evaluare (job #1024544) | Borderou de evaluare (job #2350721)
Borderou de evaluare (job #2350721)
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 |
1 | 865ms | 81936kb | Memory limit exceeded | 0 |
Punctaj total | 0 |