Pagini recente » Borderou de evaluare (job #1052830) | Borderou de evaluare (job #1795933) | Borderou de evaluare (job #651834) | Borderou de evaluare (job #73277) | Borderou de evaluare (job #1330155)
Borderou de evaluare (job #1330155)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:11:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&N);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp: In function ‘void Solve()’:
user.cpp:35:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&x,&y);
^
user.cpp: In function ‘int main()’:
user.cpp:57:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calatorie.in","r",stdin);
^
user.cpp:58:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calatorie.out","w",stdout);
^
user.cpp:61:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 100ms | 464kb | Incorect | 0 |
Punctaj total | 0 |