Pagini recente » Borderou de evaluare (job #1743338) | Borderou de evaluare (job #2982425) | Borderou de evaluare (job #1576789) | Borderou de evaluare (job #1340468) | Borderou de evaluare (job #1364786)
Borderou de evaluare (job #1364786)
Raport evaluator
Compilare:
user.cpp: In function ‘int Factorizare(long long unsigned int, int)’:
user.cpp:23:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<=N&&P[i]*P[i]<=n;i++){
^
user.cpp:30:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (n>1&&P[i]*P[i]>n){
^
user.cpp: In function ‘int main()’:
user.cpp:38:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("exp.in", "r", stdin);
^
user.cpp:39:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("exp.out", "w", stdout);
^
user.cpp:43:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d",&m, &n);
^
user.cpp:46:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 252kb | Incorect | 0 |
2 | 12ms | 256kb | Incorect | 0 |
3 | 0ms | 252kb | OK | 10 |
4 | 0ms | 260kb | Incorect | 0 |
5 | 0ms | 256kb | Incorect | 0 |
6 | 0ms | 256kb | Incorect | 0 |
7 | 0ms | 260kb | Incorect | 0 |
8 | 0ms | 256kb | Incorect | 0 |
9 | 0ms | 252kb | Incorect | 0 |
10 | 0ms | 260kb | OK | 10 |
Punctaj total | 20 |