Pagini recente » Borderou de evaluare (job #2776064) | Borderou de evaluare (job #144237) | Borderou de evaluare (job #1461969) | Borderou de evaluare (job #2513852) | Borderou de evaluare (job #1441633)
Borderou de evaluare (job #1441633)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 2; j * j <= v[i]; j++)
^
user.cpp:28:15: warning: unused variable ‘x’ [-Wunused-variable]
int t, i, j, x, y, n, k = 0;
^
user.cpp:28:18: warning: unused variable ‘y’ [-Wunused-variable]
int t, i, j, x, y, n, k = 0;
^
user.cpp:25:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("streetcrypto.in", "r", stdin);
^
user.cpp:26:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("streetcrypto.out", "w", stdout);
^
user.cpp:43:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:45:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%llu", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 428kb | Time limit exceeded. | 0 |
Punctaj total | 0 |