Pagini recente » Borderou de evaluare (job #3181781) | Borderou de evaluare (job #948323) | Borderou de evaluare (job #1942474) | Borderou de evaluare (job #2852648) | Borderou de evaluare (job #1184350)
Borderou de evaluare (job #1184350)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",p);
^
user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("progresie.in","r",stdin);
^
user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("progresie.out","w",stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:15:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&r);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 144ms | 284kb | Incorect | 0 |
Punctaj total | 0 |