Pagini recente » Borderou de evaluare (job #130588) | Borderou de evaluare (job #2427482) | Borderou de evaluare (job #130559) | Borderou de evaluare (job #352229) | Borderou de evaluare (job #1186791)
Borderou de evaluare (job #1186791)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:81:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&T);
^
user.cpp:117:26: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld",a[i]);
^
user.cpp:79:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("quadratum.in","r",stdin);
^
user.cpp:80:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("quadratum.out","w",stdout);
^
user.cpp:81:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&T);
^
user.cpp:87:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 100 |
Punctaj total | 100 |