Pagini recente » Borderou de evaluare (job #2685420) | Borderou de evaluare (job #2966642) | Borderou de evaluare (job #282918) | Borderou de evaluare (job #803740) | Borderou de evaluare (job #1609858)
Borderou de evaluare (job #1609858)
Raport evaluator
Compilare:
user.cpp: In function ‘int nrdiv1(int)’:
user.cpp:22:19: warning: left operand of comma operator has no effect [-Wunused-value]
for(int i=0; i<np, prim[i]*prim[i]<=z; i++)
^
user.cpp: In function ‘int main()’:
user.cpp:41:13: warning: unused variable ‘d’ [-Wunused-variable]
int x,y,d,s=0,nrdiv,z;
^
user.cpp:41:15: warning: unused variable ‘s’ [-Wunused-variable]
int x,y,d,s=0,nrdiv,z;
^
user.cpp:41:19: warning: unused variable ‘nrdiv’ [-Wunused-variable]
int x,y,d,s=0,nrdiv,z;
^
user.cpp:41:25: warning: unused variable ‘z’ [-Wunused-variable]
int x,y,d,s=0,nrdiv,z;
^
user.cpp:39:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxd.in", "r", stdin);
^
user.cpp:40:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxd.out", "w", stdout);
^
user.cpp:42:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x,&y );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 8ms | 340kb | OK | 10 | 40 |
2 | 4ms | 336kb | OK | 10 |
3 | 0ms | 332kb | OK | 10 |
4 | 8ms | 336kb | OK | 10 |
5 | 0ms | 340kb | OK | 10 | 30 |
6 | 12ms | 340kb | OK | 10 |
7 | 4ms | 332kb | OK | 10 |
8 | 0ms | 336kb | OK | 10 | 30 |
9 | 0ms | 336kb | OK | 10 |
10 | 8ms | 340kb | OK | 10 |
Punctaj total | 100 |