Pagini recente » Borderou de evaluare (job #776479) | Borderou de evaluare (job #1429432) | Borderou de evaluare (job #816008) | Borderou de evaluare (job #81787) | Borderou de evaluare (job #2045029)
Borderou de evaluare (job #2045029)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", sol[i]);
^
user.cpp:18:40: 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:19:42: 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:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:22:26: 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 | 464kb | OK | 100 |
Punctaj total | 100 |