Pagini recente » Borderou de evaluare (job #2225984) | Borderou de evaluare (job #805402) | Borderou de evaluare (job #2853560) | Borderou de evaluare (job #641150) | Borderou de evaluare (job #2465438)
Borderou de evaluare (job #2465438)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:24:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d ",p+1);
^
main.cpp:8:17: warning: unused variable 'j' [-Wunused-variable]
int n,t,w,i,j;
^
main.cpp:6:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("invinv.in","r",stdin);
^
main.cpp:7:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("invinv.out","w",stdout);
^
main.cpp:10:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
main.cpp:13:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld",&n,&p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 601ms | 14024kb | Time limit exceeded | 0 |
Punctaj total | 0 |