Pagini recente » Borderou de evaluare (job #2821876) | Borderou de evaluare (job #837436) | Borderou de evaluare (job #1940228) | Borderou de evaluare (job #823971) | Borderou de evaluare (job #1352572)
Borderou de evaluare (job #1352572)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:123:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d", &T);
^
user.cpp:129:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((int) sqrt(N + 1) * (int) sqrt(N + 1) == N + 1)
^
user.cpp:59:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perechi3.in", "r", stdin);
^
user.cpp:60:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perechi3.out", "w", stdout);
^
user.cpp:123:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:125:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%llu", &N);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 288ms | 432kb | Incorect | 0 |
Punctaj total | 0 |