Pagini recente » Borderou de evaluare (job #2703993) | Borderou de evaluare (job #1651998) | Borderou de evaluare (job #2204434) | Borderou de evaluare (job #706227) | Borderou de evaluare (job #2350722)
Borderou de evaluare (job #2350722)
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 | 2335ms | 75542kb | Incorect | 0 |
Punctaj total | 0 |