Borderou de evaluare (job #2308601)
Raport evaluator
Compilare:
main.cpp: In function 'long long int Primeb(long long int, long long int)':
main.cpp:28:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0 ; i < prime.size() && prime[i] <= b ; i++ )
~~^~~~~~~~~~~~~~
main.cpp:37:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0 ; j < primeb.size() ; j++ ) {
~~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:57:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d", &n ) ;
^
main.cpp:59:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%lld%lld", &a, &b ) ;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 21ms | 2351kb | OK | 10 | 10 |
2 | 22ms | 2351kb | OK | 10 | 10 |
3 | 21ms | 2351kb | OK | 10 | 10 |
4 | 791ms | 2351kb | Incorect | 0 | 0 |
5 | 918ms | 2351kb | Incorect | 0 | 0 |
6 | 1640ms | 2351kb | Incorect | 0 | 0 |
7 | 1092ms | 2351kb | Incorect | 0 | 0 |
8 | 1852ms | 2351kb | OK | 10 | 30 |
9 | 1819ms | 2351kb | OK | 10 |
10 | 1815ms | 2351kb | OK | 10 |
Punctaj total | 60 |