Pagini recente » Borderou de evaluare (job #3222466) | Borderou de evaluare (job #3269507) | Borderou de evaluare (job #3129247) | Borderou de evaluare (job #3123307) | Borderou de evaluare (job #1730683)
Borderou de evaluare (job #1730683)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56:56: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
for(int i = sol[0]; i; --i) printf("%d", sol[i]);
^
user.cpp:37: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:38: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:41:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd\n", &t);
^
user.cpp:45:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld\n", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 100 |
Punctaj total | 100 |