Pagini recente » Borderou de evaluare (job #2237932) | Borderou de evaluare (job #773296) | Borderou de evaluare (job #462053) | Borderou de evaluare (job #681429) | Borderou de evaluare (job #2522891)
Borderou de evaluare (job #2522891)
Raport evaluator
Compilare:
main.cpp: In function 'void getprime(int)':
main.cpp:16:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 2 ; i <= MAX && prime.size() < m ; i ++)
~~~~~~~~~~~~~^~~
main.cpp: In function 'int main()':
main.cpp:33:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(s.size() > m)
~~~~~~~~~^~~
main.cpp:53:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(s.size() > m)
~~~~~~~~~^~~
main.cpp:24:21: warning: unused variable 'j' [-Wunused-variable]
int n , m , i , j , ok;
^
main.cpp:22:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("numar2.in" , "r" , stdin);
^
main.cpp:23:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("numar2.out" , "w" , stdout);
^
main.cpp:27:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &n , &m);
^
main.cpp:30:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld" , &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 6ms | 262kb | OK | 10 |
3 | 6ms | 262kb | OK | 10 |
4 | 23ms | 524kb | OK | 10 |
5 | 44ms | 655kb | OK | 10 |
6 | 53ms | 917kb | Time limit exceeded | 0 |
7 | 52ms | 831kb | Time limit exceeded | 0 |
8 | 53ms | 897kb | Time limit exceeded | 0 |
9 | 53ms | 917kb | Time limit exceeded | 0 |
10 | 53ms | 917kb | Time limit exceeded | 0 |
Punctaj total | 50 |