Pagini recente » Borderou de evaluare (job #1050719) | Borderou de evaluare (job #1443778) | Borderou de evaluare (job #449897) | Borderou de evaluare (job #729975) | Borderou de evaluare (job #2522894)
Borderou de evaluare (job #2522894)
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:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 4ms | 131kb | OK | 10 |
3 | 5ms | 131kb | OK | 10 |
4 | 23ms | 401kb | OK | 10 |
5 | 27ms | 655kb | OK | 10 |
6 | 52ms | 851kb | Time limit exceeded | 0 |
7 | 47ms | 786kb | OK | 10 |
8 | 52ms | 917kb | Time limit exceeded | 0 |
9 | 49ms | 917kb | OK | 10 |
10 | 50ms | 786kb | Time limit exceeded | 0 |
Punctaj total | 70 |