Pagini recente » Borderou de evaluare (job #1997248) | Borderou de evaluare (job #100552) | Borderou de evaluare (job #1483395) | Borderou de evaluare (job #2940576) | Borderou de evaluare (job #1186671)
Borderou de evaluare (job #1186671)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:95:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (unsigned int j = 0; primes[j] * primes[j] < i && j < pn; ++j) {
^
user.cpp:95:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (unsigned int j = 0; primes[j] * primes[j] < i && j < pn; ++j) {
^
user.cpp:109:19: warning: unused variable ‘cnt’ [-Wunused-variable]
register int t, cnt, to;
^
user.cpp:109:24: warning: unused variable ‘to’ [-Wunused-variable]
register int t, cnt, to;
^
user.cpp:86:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( FILE_IN, "r", stdin );
^
user.cpp:87:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( FILE_OUT, "w", stdout );
^
user.cpp:90:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:107:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 4352kb | Time limit exceeded. | 0 |
Punctaj total | 0 |